Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -102,7 +102,7 @@ with open("prompts.yaml", 'r') as stream:
|
|
| 102 |
|
| 103 |
agent = CodeAgent(
|
| 104 |
model=model,
|
| 105 |
-
tools=[final_answer], ## add your tools here (don't remove final answer)
|
| 106 |
max_steps=6,
|
| 107 |
verbosity_level=1,
|
| 108 |
grammar=None,
|
|
@@ -113,4 +113,4 @@ agent = CodeAgent(
|
|
| 113 |
)
|
| 114 |
|
| 115 |
|
| 116 |
-
GradioUI(agent).launch()
|
|
|
|
| 102 |
|
| 103 |
agent = CodeAgent(
|
| 104 |
model=model,
|
| 105 |
+
tools=[get_bluesky_post, get_current_time_in_timezone, final_answer], ## add your tools here (don't remove final answer)
|
| 106 |
max_steps=6,
|
| 107 |
verbosity_level=1,
|
| 108 |
grammar=None,
|
|
|
|
| 113 |
)
|
| 114 |
|
| 115 |
|
| 116 |
+
GradioUI(agent).launch()
|