mirjam-m commited on
Commit
95edf61
·
1 Parent(s): c29231a

graph test

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -57,7 +57,7 @@ Double-check that the synthesized answer directly addresses the original questio
57
  4. Format Output:
58
  Last sentence should of your response shoule either:
59
  - start **EXACTLY** with `FINAL ANSWER: ` followed by the answer.
60
- - OR start **EXACTLY** with `TOOL: ` followed by the tool name and the request to the tool, example `TOOL: GoogleSearchAgent(request='search query')`
61
 
62
  """
63
 
@@ -164,7 +164,7 @@ class BasicAgent:
164
  return "EXCEEDED_ATTEMPTS"
165
 
166
  if state["search_request"]:
167
- return "GOOGLE_SEARCH"
168
 
169
  return "FINAL_ANSWER"
170
 
 
57
  4. Format Output:
58
  Last sentence should of your response shoule either:
59
  - start **EXACTLY** with `FINAL ANSWER: ` followed by the answer.
60
+ - OR start **EXACTLY** with `TOOL: ` followed by the tool name and the request to the tool, example `TOOL: DuckDuckGoSearchAgent(request='search query')`
61
 
62
  """
63
 
 
164
  return "EXCEEDED_ATTEMPTS"
165
 
166
  if state["search_request"]:
167
+ return "WEB_SEARCH"
168
 
169
  return "FINAL_ANSWER"
170