chinmayjha commited on
Commit
4af9b90
·
unverified ·
1 Parent(s): 65229ef

Increase max_steps from 2 to 4 for complex queries

Browse files
src/second_brain_online/application/agents/agents.py CHANGED
@@ -63,7 +63,7 @@ class AgentWrapper:
63
  agent = ToolCallingAgent(
64
  tools=[what_can_i_do, retriever_tool, summarizer_tool],
65
  model=model,
66
- max_steps=2, # Retrieval answer_with_sources (which IS the final answer)
67
  verbosity_level=2,
68
  )
69
 
 
63
  agent = ToolCallingAgent(
64
  tools=[what_can_i_do, retriever_tool, summarizer_tool],
65
  model=model,
66
+ max_steps=4, # Allow more steps for complex queries
67
  verbosity_level=2,
68
  )
69