tools in a single line
Browse files
app.py
CHANGED
|
@@ -113,10 +113,7 @@ with open("prompts.yaml", 'r') as stream:
|
|
| 113 |
|
| 114 |
agent = CodeAgent(
|
| 115 |
model=model,
|
| 116 |
-
tools=[final_answer,
|
| 117 |
-
get_current_time_in_timezone,
|
| 118 |
-
image_generation_tool,
|
| 119 |
-
toss_a_die], ## add your tools here (don't remove final answer)
|
| 120 |
max_steps=6,
|
| 121 |
verbosity_level=1,
|
| 122 |
grammar=None,
|
|
|
|
| 113 |
|
| 114 |
agent = CodeAgent(
|
| 115 |
model=model,
|
| 116 |
+
tools=[final_answer, get_current_time_in_timezone, image_generation_tool, toss_a_die], ## add your tools here (don't remove final answer)
|
|
|
|
|
|
|
|
|
|
| 117 |
max_steps=6,
|
| 118 |
verbosity_level=1,
|
| 119 |
grammar=None,
|