工具调用
This commit is contained in:
parent
03016764eb
commit
14e2fce6d1
|
@ -44,7 +44,6 @@ class Bahavior(ptree.behaviour.Behaviour):
|
|||
# self.valid_arg_list.append((x.strip for x in line.split(",")))
|
||||
self.args = args
|
||||
|
||||
|
||||
super().__init__(self.name)
|
||||
|
||||
def _update(self) -> ptree.common.Status:
|
||||
|
|
|
@ -74,7 +74,6 @@ if __name__ == "__main__":
|
|||
# create_chat_completion("chatglm3-6b", chat_messages, use_stream=False)
|
||||
|
||||
|
||||
|
||||
# query = "你是谁"
|
||||
# run_conversation(query, stream=False)
|
||||
#
|
||||
|
|
|
@ -135,7 +135,7 @@ def create_sub_task(
|
|||
return goal
|
||||
|
||||
@register_tool
|
||||
def find_near_object(
|
||||
def get_object_info(
|
||||
object: Annotated[str, '需要判断所在位置的物体', True]
|
||||
) -> str:
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue