obsolete-apparatus commited on
Commit
ec2feac
·
verified ·
1 Parent(s): 95d13f7

Added weather tool and time tool in the tools list

Browse files

Added weather tool and time tool in the tools list.

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -76,7 +76,7 @@ with open("prompts.yaml", 'r') as stream:
76
 
77
  agent = CodeAgent(
78
  model=model,
79
- tools=[final_answer], ## add your tools here (don't remove final answer)
80
  max_steps=6,
81
  verbosity_level=1,
82
  grammar=None,
 
76
 
77
  agent = CodeAgent(
78
  model=model,
79
+ tools=[final_answer, get_weather_for_city, get_current_time_in_timezone], ## add your tools here (don't remove final answer)
80
  max_steps=6,
81
  verbosity_level=1,
82
  grammar=None,