Spaces:
Paused
Paused
Update agents.py
Browse files
agents.py
CHANGED
|
@@ -36,7 +36,7 @@ def run_gaia(question, file_name):
|
|
| 36 |
description = "Runs web searches for you. Give it your query as an argument.",
|
| 37 |
max_steps = 1,
|
| 38 |
model = OpenAIServerModel(model_id = MODEL_ID),
|
| 39 |
-
|
| 40 |
#tools = [search_tool],
|
| 41 |
tools = [DuckDuckGoSearchTool()],
|
| 42 |
verbosity_level = 1
|
|
@@ -46,7 +46,7 @@ def run_gaia(question, file_name):
|
|
| 46 |
description = "Runs wikipedia searches for you. Give it your query as an argument.",
|
| 47 |
max_steps = 1,
|
| 48 |
model = OpenAIServerModel(model_id = MODEL_ID),
|
| 49 |
-
|
| 50 |
#tools = [wikipedia_tool],
|
| 51 |
tools = [WikipediaSearchTool()],
|
| 52 |
verbosity_level = 1
|
|
|
|
| 36 |
description = "Runs web searches for you. Give it your query as an argument.",
|
| 37 |
max_steps = 1,
|
| 38 |
model = OpenAIServerModel(model_id = MODEL_ID),
|
| 39 |
+
name = "web_search_agent",
|
| 40 |
#tools = [search_tool],
|
| 41 |
tools = [DuckDuckGoSearchTool()],
|
| 42 |
verbosity_level = 1
|
|
|
|
| 46 |
description = "Runs wikipedia searches for you. Give it your query as an argument.",
|
| 47 |
max_steps = 1,
|
| 48 |
model = OpenAIServerModel(model_id = MODEL_ID),
|
| 49 |
+
name = "wikipedia_search_agent",
|
| 50 |
#tools = [wikipedia_tool],
|
| 51 |
tools = [WikipediaSearchTool()],
|
| 52 |
verbosity_level = 1
|