Spaces:
Sleeping
Sleeping
Update agent.py
Browse files
agent.py
CHANGED
|
@@ -342,7 +342,7 @@ class BasicAgent:
|
|
| 342 |
- If Task ID is included in the question, remember to call the relevant read tools [ie. read_file, excel_read, csv_read, mp3_listen, image_caption]
|
| 343 |
- python_tool is called when the question mentions the term "Python" or any math calculation.
|
| 344 |
"""
|
| 345 |
-
|
| 346 |
To use a tool, use the following format:
|
| 347 |
Thought: Do I need to use a tool? Yes
|
| 348 |
Action: the action to take, should be one of [{tool_names}]
|
|
|
|
| 342 |
- If Task ID is included in the question, remember to call the relevant read tools [ie. read_file, excel_read, csv_read, mp3_listen, image_caption]
|
| 343 |
- python_tool is called when the question mentions the term "Python" or any math calculation.
|
| 344 |
"""
|
| 345 |
+
FORMAT_INSTRUCTIONS = """
|
| 346 |
To use a tool, use the following format:
|
| 347 |
Thought: Do I need to use a tool? Yes
|
| 348 |
Action: the action to take, should be one of [{tool_names}]
|