menikev commited on
Commit
368557f
·
verified ·
1 Parent(s): c89164b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -76,7 +76,7 @@ agent_executor = AgentExecutor.from_agent_and_tools(
76
  verbose=True,
77
  memory=ConversationBufferMemory(memory_key="chat_history", return_messages=True),
78
  handle_parsing_errors=True,
79
- max_iterations=3, # Limit the number of iterations
80
  early_stopping_method="force" # or "generate_until_stop"
81
  )
82
 
 
76
  verbose=True,
77
  memory=ConversationBufferMemory(memory_key="chat_history", return_messages=True),
78
  handle_parsing_errors=True,
79
+ max_iterations=6, # Limit the number of iterations
80
  early_stopping_method="force" # or "generate_until_stop"
81
  )
82