Malik198 commited on
Commit
71b104a
·
verified ·
1 Parent(s): b3e0a16

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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=3, # Enable planning every 3 steps
69
- max_steps=5,
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
  )