Spaces:
Sleeping
Sleeping
Add available tools to the agent
Browse filesAdd the following tools to the agent: DuckDuckGoSearchTool, get_papers_url_for_date, get_current_time_in_timezone.
Do not add image_generation_tool because the agent should focus on papers and their evaluation.
app.py
CHANGED
@@ -52,7 +52,7 @@ with open("prompts.yaml", 'r') as stream:
|
|
52 |
|
53 |
agent = CodeAgent(
|
54 |
model=model,
|
55 |
-
tools=[final_answer
|
56 |
max_steps=6,
|
57 |
verbosity_level=1,
|
58 |
grammar=None,
|
|
|
52 |
|
53 |
agent = CodeAgent(
|
54 |
model=model,
|
55 |
+
tools=[final_answer, DuckDuckGoSearchTool, get_papers_url_for_date, get_current_time_in_timezone],
|
56 |
max_steps=6,
|
57 |
verbosity_level=1,
|
58 |
grammar=None,
|