david-clifford commited on
Commit
48ad840
·
verified ·
1 Parent(s): 1f34237

Update max_steps so it fails faster

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -96,7 +96,7 @@ with open("prompts.yaml", 'r') as stream:
96
  agent = CodeAgent(
97
  model=model,
98
  tools=[final_answer, get_current_time_in_timezone, image_generation_tool, toss_a_die, nse_stock_price_tool], ## add your tools here (don't remove final answer)
99
- max_steps=6,
100
  verbosity_level=1,
101
  grammar=None,
102
  planning_interval=None,
 
96
  agent = CodeAgent(
97
  model=model,
98
  tools=[final_answer, get_current_time_in_timezone, image_generation_tool, toss_a_die, nse_stock_price_tool], ## add your tools here (don't remove final answer)
99
+ max_steps=3,
100
  verbosity_level=1,
101
  grammar=None,
102
  planning_interval=None,