Spaces:
Running
Running
Update app.py
Browse filesAdd custom tool to agent's functionality
app.py
CHANGED
@@ -64,7 +64,7 @@ with open("prompts.yaml", 'r') as stream:
|
|
64 |
|
65 |
agent = CodeAgent(
|
66 |
model=model,
|
67 |
-
tools=[get_current_time_in_timezone, image_generation_tool, final_answer], ## add your tools here (don't remove final answer)
|
68 |
max_steps=6,
|
69 |
verbosity_level=1,
|
70 |
grammar=None,
|
|
|
64 |
|
65 |
agent = CodeAgent(
|
66 |
model=model,
|
67 |
+
tools=[get_current_time_in_timezone, read_excel_file, image_generation_tool, final_answer], ## add your tools here (don't remove final answer)
|
68 |
max_steps=6,
|
69 |
verbosity_level=1,
|
70 |
grammar=None,
|