Spaces:
Sleeping
Sleeping
Update app.py
Browse filesFixing what I think is a typo for tools param the documentation says [tools] but I get an error if I specify [tool1, too2]
app.py
CHANGED
|
@@ -51,7 +51,7 @@ with open("prompts.yaml", 'r') as stream:
|
|
| 51 |
|
| 52 |
agent = CodeAgent(
|
| 53 |
model=model,
|
| 54 |
-
tools=[final_answer,
|
| 55 |
max_steps=6,
|
| 56 |
verbosity_level=1,
|
| 57 |
grammar=None,
|
|
|
|
| 51 |
|
| 52 |
agent = CodeAgent(
|
| 53 |
model=model,
|
| 54 |
+
tools=[final_answer],[get_current_time_in_timezone]
|
| 55 |
max_steps=6,
|
| 56 |
verbosity_level=1,
|
| 57 |
grammar=None,
|