connectwithprakash commited on
Commit
671fea8
·
verified ·
1 Parent(s): 1f6753c

Add duckduckgo as tool

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -69,7 +69,7 @@ with open("prompts.yaml", 'r') as stream:
69
 
70
  agent = CodeAgent(
71
  model=model,
72
- tools=[get_current_time_in_timezone, get_person_bio, final_answer], ## add your tools here (don't remove final answer)
73
  max_steps=6,
74
  verbosity_level=1,
75
  grammar=None,
 
69
 
70
  agent = CodeAgent(
71
  model=model,
72
+ tools=[get_current_time_in_timezone, get_person_bio, DuckDuckGoSearchTool, final_answer], ## add your tools here (don't remove final answer)
73
  max_steps=6,
74
  verbosity_level=1,
75
  grammar=None,