Spaces:
Sleeping
Sleeping
feat: add get_current_time_in_timezone tool
Browse files
app.py
CHANGED
@@ -55,7 +55,10 @@ with open("prompts.yaml", 'r') as stream:
|
|
55 |
|
56 |
agent = CodeAgent(
|
57 |
model=model,
|
58 |
-
tools=[
|
|
|
|
|
|
|
59 |
max_steps=6,
|
60 |
verbosity_level=1,
|
61 |
grammar=None,
|
|
|
55 |
|
56 |
agent = CodeAgent(
|
57 |
model=model,
|
58 |
+
tools=[
|
59 |
+
final_answer,
|
60 |
+
get_current_time_in_timezone,
|
61 |
+
], ## add your tools here (don't remove final answer)
|
62 |
max_steps=6,
|
63 |
verbosity_level=1,
|
64 |
grammar=None,
|