civerson916 commited on
Commit
d3e3839
·
verified ·
1 Parent(s): 1db0e9e

Update app.py

Browse files

remove wiki_tool. it is not reliable and wastes many of the 10 allocated agent steps

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -174,7 +174,7 @@ class BasicAgent:
174
  prompt_templates = yaml.safe_load(stream)
175
  self.agent = CodeAgent(
176
  model=model,
177
- tools=[final_answer, search_tool, wiki_tool, visit_webpage_tool, audio_description_tool],
178
  max_steps=10,
179
  verbosity_level=1,
180
  additional_authorized_imports=[
 
174
  prompt_templates = yaml.safe_load(stream)
175
  self.agent = CodeAgent(
176
  model=model,
177
+ tools=[final_answer, search_tool, visit_webpage_tool, audio_description_tool],
178
  max_steps=10,
179
  verbosity_level=1,
180
  additional_authorized_imports=[