Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -65,8 +65,8 @@ class BasicAgent:
|
|
65 |
tools=[DuckDuckGoSearchTool(), visit_webpage],
|
66 |
model=self.model,
|
67 |
add_base_tools=True, # Add any additional base tools
|
68 |
-
planning_interval=
|
69 |
-
max_steps=
|
70 |
additional_authorized_imports=["*"],
|
71 |
description="Give the final answer and try to use no more that 300 tokens. You can use DuckDuckGoSearchTool, wikipedia, visit_webpage or other tools.",
|
72 |
)
|
|
|
65 |
tools=[DuckDuckGoSearchTool(), visit_webpage],
|
66 |
model=self.model,
|
67 |
add_base_tools=True, # Add any additional base tools
|
68 |
+
planning_interval=2, # Enable planning every 3 steps
|
69 |
+
max_steps=3,
|
70 |
additional_authorized_imports=["*"],
|
71 |
description="Give the final answer and try to use no more that 300 tokens. You can use DuckDuckGoSearchTool, wikipedia, visit_webpage or other tools.",
|
72 |
)
|