riskjuggler commited on
Commit
a4612ce
·
verified ·
1 Parent(s): 39d4e91

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -4,6 +4,7 @@ import requests
4
  import pytz
5
  import yaml
6
  from tools.final_answer import FinalAnswerTool
 
7
 
8
  from Gradio_UI import GradioUI
9
 
@@ -108,7 +109,7 @@ with open("prompts.yaml", 'r') as stream:
108
 
109
  agent = CodeAgent(
110
  model=model,
111
- tools=[final_answer, mirror_user, get_current_time_in_timezone], ## add your tools here (don't remove final answer)
112
  max_steps=6,
113
  verbosity_level=1,
114
  grammar=None,
 
4
  import pytz
5
  import yaml
6
  from tools.final_answer import FinalAnswerTool
7
+ from tools.web_search import web_search
8
 
9
  from Gradio_UI import GradioUI
10
 
 
109
 
110
  agent = CodeAgent(
111
  model=model,
112
+ tools=[final_answer, mirror_user, get_current_time_in_timezone, web_search], ## add your tools here (don't remove final answer)
113
  max_steps=6,
114
  verbosity_level=1,
115
  grammar=None,