Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -82,11 +82,9 @@ with open("prompts.yaml", 'r') as stream:
|
|
| 82 |
# -------------------------
|
| 83 |
agent = CodeAgent(
|
| 84 |
model=model,
|
| 85 |
-
tools=[final_answer, get_current_time_in_timezone, generate_image],
|
| 86 |
max_steps=6,
|
| 87 |
verbosity_level=1,
|
| 88 |
-
grammar=None,
|
| 89 |
-
planning_interval=None,
|
| 90 |
name="FirstAgent",
|
| 91 |
description="Agent with image generation and time tools",
|
| 92 |
prompt_templates=prompt_templates
|
|
|
|
| 82 |
# -------------------------
|
| 83 |
agent = CodeAgent(
|
| 84 |
model=model,
|
| 85 |
+
tools=[final_answer, get_current_time_in_timezone, generate_image],
|
| 86 |
max_steps=6,
|
| 87 |
verbosity_level=1,
|
|
|
|
|
|
|
| 88 |
name="FirstAgent",
|
| 89 |
description="Agent with image generation and time tools",
|
| 90 |
prompt_templates=prompt_templates
|