Spaces:
Sleeping
Sleeping
fixed a but, where the tools were outside the list for tools in CodeAgent
Browse files
app.py
CHANGED
|
@@ -106,7 +106,7 @@ with open("prompts.yaml", 'r') as stream:
|
|
| 106 |
|
| 107 |
agent = CodeAgent(
|
| 108 |
model=model,
|
| 109 |
-
tools=[final_answer
|
| 110 |
max_steps=6,
|
| 111 |
verbosity_level=1,
|
| 112 |
grammar=None,
|
|
|
|
| 106 |
|
| 107 |
agent = CodeAgent(
|
| 108 |
model=model,
|
| 109 |
+
tools=[final_answer, statistics_tool, get_current_time_in_timezone, search_tool, image_generation_tool], ## add your tools here (don't remove final answer)
|
| 110 |
max_steps=6,
|
| 111 |
verbosity_level=1,
|
| 112 |
grammar=None,
|