Spaces:
Sleeping
Sleeping
Update agents.py
Browse filesSlight modifications for attempt 2
agents.py
CHANGED
|
@@ -5,8 +5,8 @@ from tools import duck_search_tool, google_search_tool
|
|
| 5 |
|
| 6 |
# Initialize the model for agent_1
|
| 7 |
model_1 = HfApiModel()
|
| 8 |
-
agent_1_instructions = "Search for and retrieve relevant information about the question asked:\n"
|
| 9 |
agent_1 = CodeAgent(
|
| 10 |
model = model_1,
|
| 11 |
-
tools=[duck_search_tool]
|
| 12 |
)
|
|
|
|
| 5 |
|
| 6 |
# Initialize the model for agent_1
|
| 7 |
model_1 = HfApiModel()
|
| 8 |
+
agent_1_instructions = "Search for and retrieve relevant information about the question asked. Do not respond with any thought just the final answer:\n"
|
| 9 |
agent_1 = CodeAgent(
|
| 10 |
model = model_1,
|
| 11 |
+
tools=[duck_search_tool, google_search_tool]
|
| 12 |
)
|