peterpeter8585 commited on
Commit
c981802
Β·
verified Β·
1 Parent(s): 9337589

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -216,7 +216,8 @@ agent = initialize_agent(
216
  llm,
217
  agent_type=AgentType.STRUCTURED_CHAT_ZERO_SHOT_REACT_DESCRIPTION,
218
  memory=memory,
219
- verbose=True
 
220
  )
221
 
222
  # ──────────────────────────────
 
216
  llm,
217
  agent_type=AgentType.STRUCTURED_CHAT_ZERO_SHOT_REACT_DESCRIPTION,
218
  memory=memory,
219
+ verbose=True,
220
+ handle_parsing_errors=True
221
  )
222
 
223
  # ──────────────────────────────