JoeSos commited on
Commit
2453b1d
·
verified ·
1 Parent(s): 17ba81b

Update app.py

Browse files

Added custom tools to the agents toolbox.

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