Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -50,7 +50,7 @@ agent = (
|
|
| 50 |
)
|
| 51 |
|
| 52 |
# Instantiate AgentExecutor
|
| 53 |
-
agent_executor = AgentExecutor(agent=agent, tools=tools, verbose=True)
|
| 54 |
|
| 55 |
@cl.on_chat_start
|
| 56 |
async def main():
|
|
|
|
| 50 |
)
|
| 51 |
|
| 52 |
# Instantiate AgentExecutor
|
| 53 |
+
agent_executor = AgentExecutor(agent=agent, tools=tools, verbose=True, handle_parsing_errors=True)
|
| 54 |
|
| 55 |
@cl.on_chat_start
|
| 56 |
async def main():
|