naman1102 commited on
Commit
6bdf8ce
·
1 Parent(s): 760f1a8

Update agent.py

Browse files
Files changed (1) hide show
  1. agent.py +2 -2
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. When you are confident in your answer, write:
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 as soon as you are confident.
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
  """