adding final_answer to be the last one
Browse files
app.py
CHANGED
|
@@ -71,7 +71,8 @@ with open("prompts.yaml", 'r') as stream:
|
|
| 71 |
|
| 72 |
agent = CodeAgent(
|
| 73 |
model=model,
|
| 74 |
-
|
|
|
|
| 75 |
max_steps=6,
|
| 76 |
verbosity_level=1,
|
| 77 |
grammar=None,
|
|
|
|
| 71 |
|
| 72 |
agent = CodeAgent(
|
| 73 |
model=model,
|
| 74 |
+
## add your tools here (don't remove final answer)
|
| 75 |
+
tools=[get_weather_pereira, get_current_time_in_timezone, final_answer]
|
| 76 |
max_steps=6,
|
| 77 |
verbosity_level=1,
|
| 78 |
grammar=None,
|