Update app.py
Browse files
app.py
CHANGED
@@ -127,7 +127,7 @@ class BasicAgent:
|
|
127 |
audio_tool=AudioToTextTool()
|
128 |
# self.tools = [attachment_tool,image_tool,audio_tool,DuckDuckGoSearchTool(), VisitWebpageTool()]
|
129 |
self.tools = [attachment_tool,image_tool,audio_tool]
|
130 |
-
web_agent =
|
131 |
tools=[DuckDuckGoSearchTool(), VisitWebpageTool()],
|
132 |
model=self.base_model,
|
133 |
max_steps=10,
|
|
|
127 |
audio_tool=AudioToTextTool()
|
128 |
# self.tools = [attachment_tool,image_tool,audio_tool,DuckDuckGoSearchTool(), VisitWebpageTool()]
|
129 |
self.tools = [attachment_tool,image_tool,audio_tool]
|
130 |
+
web_agent = CodeAgent(
|
131 |
tools=[DuckDuckGoSearchTool(), VisitWebpageTool()],
|
132 |
model=self.base_model,
|
133 |
max_steps=10,
|