Added weather tool and time tool in the tools list
Browse filesAdded weather tool and time tool in the tools list.
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,
|