dball commited on
Commit
b2a6418
·
verified ·
1 Parent(s): 5fb9663

Increase max steps to take to 30

Browse files

Increase `max_steps` from 6 to 30 because the agent might need to
* visit multiple websites
* try multiple times until it understands how to interpret the data from a website.

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -73,7 +73,7 @@ with open("prompts.yaml", 'r') as stream:
73
  agent = CodeAgent(
74
  model=model,
75
  tools=[final_answer, search_tool, get_website_content, get_papers_url_for_date, get_current_time_in_timezone],
76
- max_steps=6,
77
  verbosity_level=1,
78
  grammar=None,
79
  planning_interval=None,
 
73
  agent = CodeAgent(
74
  model=model,
75
  tools=[final_answer, search_tool, get_website_content, get_papers_url_for_date, get_current_time_in_timezone],
76
+ max_steps=30,
77
  verbosity_level=1,
78
  grammar=None,
79
  planning_interval=None,