Spaces:
Running
Running
Update agent.py
Browse files
agent.py
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
from smolagents import CodeAgent,
|
2 |
import asyncio
|
3 |
import os
|
4 |
import yaml
|
@@ -103,7 +103,7 @@ class MagAgent:
|
|
103 |
model= model,
|
104 |
tools=[
|
105 |
# GoogleSearchTool,
|
106 |
-
|
107 |
WikipediaSearchTool(),
|
108 |
ImageAnalysisTool,
|
109 |
# LocalFileAudioTool()
|
|
|
1 |
+
from smolagents import CodeAgent, DuckDuckGoSearchTool, WikipediaSearchTool, LiteLLMModel, tool, load_tool # HfApiModel, OpenAIServerModel
|
2 |
import asyncio
|
3 |
import os
|
4 |
import yaml
|
|
|
103 |
model= model,
|
104 |
tools=[
|
105 |
# GoogleSearchTool,
|
106 |
+
DuckDuckGoSearchTool(),
|
107 |
WikipediaSearchTool(),
|
108 |
ImageAnalysisTool,
|
109 |
# LocalFileAudioTool()
|