ewaltuch commited on
Commit
41b548a
·
verified ·
1 Parent(s): 8b518c7

Update app.py

Browse files

disable costly bash cmd tool
enable DDG search tool

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -121,7 +121,7 @@ with open("prompts.yaml", 'r') as stream:
121
 
122
  agent = CodeAgent(
123
  model=model,
124
- tools=[final_answer, get_current_time_in_timezone, get_os_info, execute_bash_command], ## add your tools here (don't remove final answer)
125
  max_steps=6,
126
  verbosity_level=1,
127
  grammar=None,
 
121
 
122
  agent = CodeAgent(
123
  model=model,
124
+ tools=[final_answer, get_current_time_in_timezone, get_os_info, DuckDuckGoSearchTool()], ## add your tools here (don't remove final answer)
125
  max_steps=6,
126
  verbosity_level=1,
127
  grammar=None,