Spaces:
Sleeping
Sleeping
removed duplicated web_search tool call...need to learn what's happening here
Browse files
app.py
CHANGED
|
@@ -80,7 +80,7 @@ with open("prompts.yaml", 'r') as stream:
|
|
| 80 |
# Reinitialize the agent with the new tools
|
| 81 |
agent = CodeAgent(
|
| 82 |
model=model,
|
| 83 |
-
tools=[final_answer,
|
| 84 |
max_steps=6,
|
| 85 |
verbosity_level=1,
|
| 86 |
grammar=None,
|
|
|
|
| 80 |
# Reinitialize the agent with the new tools
|
| 81 |
agent = CodeAgent(
|
| 82 |
model=model,
|
| 83 |
+
tools=[final_answer, VisitWebpageTool(),DuckDuckGoSearchTool()], # Added web_search and visit_webpage here
|
| 84 |
max_steps=6,
|
| 85 |
verbosity_level=1,
|
| 86 |
grammar=None,
|