Spaces:
Sleeping
Sleeping
Update agent.py
Browse files
agent.py
CHANGED
|
@@ -17,7 +17,7 @@ Thought: [your reasoning]
|
|
| 17 |
Action: [tool_name]
|
| 18 |
Action Input: [input]
|
| 19 |
|
| 20 |
-
When you receive an observation, continue reasoning.
|
| 21 |
|
| 22 |
Thought: [final reasoning]
|
| 23 |
FINAL ANSWER: [your answer]
|
|
@@ -26,7 +26,7 @@ IMPORTANT:
|
|
| 26 |
- If using tools that require a `task_id`, only use the value provided.
|
| 27 |
- Do not make up tool names.
|
| 28 |
- Do not loop unnecessarily.
|
| 29 |
-
- Provide FINAL ANSWER
|
| 30 |
- Try to use the web search tool first before using wiki and arxiv tools.
|
| 31 |
- If wiki tool doesnt give you enough information, try again with a shorter query, or a more genral query. Dont use a query that is too specific.
|
| 32 |
"""
|
|
|
|
| 17 |
Action: [tool_name]
|
| 18 |
Action Input: [input]
|
| 19 |
|
| 20 |
+
When you receive an observation, continue reasoning. Write:
|
| 21 |
|
| 22 |
Thought: [final reasoning]
|
| 23 |
FINAL ANSWER: [your answer]
|
|
|
|
| 26 |
- If using tools that require a `task_id`, only use the value provided.
|
| 27 |
- Do not make up tool names.
|
| 28 |
- Do not loop unnecessarily.
|
| 29 |
+
- Provide FINAL ANSWER fast.
|
| 30 |
- Try to use the web search tool first before using wiki and arxiv tools.
|
| 31 |
- If wiki tool doesnt give you enough information, try again with a shorter query, or a more genral query. Dont use a query that is too specific.
|
| 32 |
"""
|