Spaces:
Sleeping
Sleeping
Update app.py
Browse filesMake tools available for agent to use
app.py
CHANGED
|
@@ -56,9 +56,9 @@ with open("prompts.yaml", 'r') as stream:
|
|
| 56 |
agent = CodeAgent(
|
| 57 |
model=model,
|
| 58 |
tools=[
|
| 59 |
-
DuckDuckGoSearchTool,
|
| 60 |
-
get_current_time_in_timezone,
|
| 61 |
-
image_generation_tool,
|
| 62 |
final_answer], ## add your tools here (don't remove final answer)
|
| 63 |
max_steps=6,
|
| 64 |
verbosity_level=1,
|
|
|
|
| 56 |
agent = CodeAgent(
|
| 57 |
model=model,
|
| 58 |
tools=[
|
| 59 |
+
DuckDuckGoSearchTool(),
|
| 60 |
+
get_current_time_in_timezone(),
|
| 61 |
+
image_generation_tool(),
|
| 62 |
final_answer], ## add your tools here (don't remove final answer)
|
| 63 |
max_steps=6,
|
| 64 |
verbosity_level=1,
|