ModernMewtwo26 commited on
Commit
9e87f3f
·
verified ·
1 Parent(s): 9c0e6fd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -40,12 +40,11 @@ agent = CodeAgent(
40
  tools=[construct_course_search_query, search_tool, final_answer],
41
  max_steps=5, # Reduced from 9 to limit automatic progression
42
  step_time_limit=30, # Maximum seconds per step (prevents long-running operations)
43
- planning_interval=1, # Forces planning every step instead of None
44
  verbosity_level=2, # Increased for more detailed logging
45
  grammar=None,
46
- planning_interval=None,
47
  name=None,
48
  description=None,
49
  prompt_templates=prompt_templates)
50
 
51
- GradioUI(agent).launch()
 
40
  tools=[construct_course_search_query, search_tool, final_answer],
41
  max_steps=5, # Reduced from 9 to limit automatic progression
42
  step_time_limit=30, # Maximum seconds per step (prevents long-running operations)
43
+ planning_interval=1, # Forces planning every step
44
  verbosity_level=2, # Increased for more detailed logging
45
  grammar=None,
 
46
  name=None,
47
  description=None,
48
  prompt_templates=prompt_templates)
49
 
50
+ GradioUI(agent).launch()