GT5557 commited on
Commit
b9e1447
·
verified ·
1 Parent(s): ec7c05b

Update agent.py

Browse files
Files changed (1) hide show
  1. agent.py +4 -8
agent.py CHANGED
@@ -142,14 +142,10 @@ FINAL ANSWER: <answer>
142
  """
143
 
144
  ROUTE_PROMPTS = {
145
- 'reverse': BASE_RULES + "
146
- This is likely a reversal or direct text manipulation task. Avoid search.",
147
- 'python': BASE_RULES + "
148
- This is likely a structured reasoning task. Prefer run_python for exactness.",
149
- 'web': BASE_RULES + "
150
- This is likely a URL, video, or recent-web task. Use web_search or fetch_page sparingly.",
151
- 'wiki': BASE_RULES + "
152
- This is likely stable factual knowledge. Prefer wiki_search first.",
153
  'default': BASE_RULES + "
154
  Choose the shortest path to the exact answer.",
155
  }
 
142
  """
143
 
144
  ROUTE_PROMPTS = {
145
+ 'reverse': BASE_RULES + "This is likely a reversal or direct text manipulation task. Avoid search.",
146
+ 'python': BASE_RULES + "This is likely a structured reasoning task. Prefer run_python for exactness.",
147
+ 'web': BASE_RULES + "This is likely a URL, video, or recent-web task. Use web_search or fetch_page sparingly.",
148
+ 'wiki': BASE_RULES + "This is likely stable factual knowledge. Prefer wiki_search first.",
 
 
 
 
149
  'default': BASE_RULES + "
150
  Choose the shortest path to the exact answer.",
151
  }