repst commited on
Commit
c55dd0c
·
verified ·
1 Parent(s): de063d7

add DuckDuckGoSearchTool to tools

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -55,7 +55,8 @@ with open("prompts.yaml", 'r') as stream:
55
 
56
  agent = CodeAgent(
57
  model=model,
58
- tools=[image_generation_tool, my_custom_tool, get_current_time_in_timezone, final_answer], ## add your tools here (don't remove final answer)
 
59
  max_steps=6,
60
  verbosity_level=1,
61
  grammar=None,
 
55
 
56
  agent = CodeAgent(
57
  model=model,
58
+ tools=[image_generation_tool, my_custom_tool, get_current_time_in_timezone,
59
+ DuckDuckGoSearchTool(), final_answer], ## add your tools here (don't remove final answer)
60
  max_steps=6,
61
  verbosity_level=1,
62
  grammar=None,