Skip to content

Commit

Permalink
fix issues with easytool
Browse files Browse the repository at this point in the history
  • Loading branch information
dillonalaird committed Mar 25, 2024
1 parent 56574e1 commit a9c4f57
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion vision_agent/agent/easytool.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def format_tools(tools: Dict[int, Any]) -> str:
# Format this way so it's clear what the ID's are
tool_str = ""
for key in tools:
tool_str += f"ID: {key}, {tools[key]}\n"
tool_str += f"ID: {key} - {tools[key]}\n"
return tool_str


Expand Down
3 changes: 1 addition & 2 deletions vision_agent/agent/easytool_prompts.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
Output: """

TASK_TOPOLOGY = """Given a complex user's question, I have decompose this question into some simple subtasks. I think there exists a logical connections and order amontg the tasks. Thus you need to help me output this logical connections and order.
You must ONLY output in a parsible JSON format with the following format:"
You must ONLY output in a parsible JSON format with the following format:
{{"Tasks": [{{"task": task, "id", task_id, "dep": [dependency_task_id1, dependency_task_id2, ...]}}]}}
Expand All @@ -31,7 +31,6 @@

CHOOSE_TOOL = """This is the user's question: {question}
These are the tools you can select to solve the question:
Tool List:
{tools}
Please note that:
Expand Down

0 comments on commit a9c4f57

Please sign in to comment.