dball commited on
Commit
70fb4da
·
verified ·
1 Parent(s): f832d83

Add available tools to the agent

Browse files

Add 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.

Files changed (1) hide show
  1. app.py +1 -1
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], ## add your tools here (don't remove 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,