Update app.py
Browse files
app.py
CHANGED
|
@@ -139,6 +139,7 @@ class BasicAgent:
|
|
| 139 |
agent=AgentType.ZERO_SHOT_REACT_DESCRIPTION,
|
| 140 |
system_message=SYSTEM_MESSAGE,
|
| 141 |
verbose=True,
|
|
|
|
| 142 |
)
|
| 143 |
|
| 144 |
# The GAIA system prompt (no "FINAL ANSWER:" at the end)
|
|
|
|
| 139 |
agent=AgentType.ZERO_SHOT_REACT_DESCRIPTION,
|
| 140 |
system_message=SYSTEM_MESSAGE,
|
| 141 |
verbose=True,
|
| 142 |
+
handle_parsing_errors=True
|
| 143 |
)
|
| 144 |
|
| 145 |
# The GAIA system prompt (no "FINAL ANSWER:" at the end)
|