Update app.py
Browse filesremove wiki_tool. it is not reliable and wastes many of the 10 allocated agent steps
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,
|
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=[
|