silviatulli commited on
Commit
4a4b446
·
verified ·
1 Parent(s): 910f78e

adding get_weather to agent's tools

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -86,7 +86,7 @@ with open("prompts.yaml", 'r') as stream:
86
 
87
  agent = CodeAgent(
88
  model=model,
89
- tools=[final_answer], ## add your tools here (don't remove final answer)
90
  max_steps=6,
91
  verbosity_level=1,
92
  grammar=None,
 
86
 
87
  agent = CodeAgent(
88
  model=model,
89
+ tools=[get_weather,final_answer], ## add your tools here (don't remove final answer)
90
  max_steps=6,
91
  verbosity_level=1,
92
  grammar=None,