Fallback for Tool Call Failures in Langflow Agent #7424
Unanswered
dhia-mahdaoui
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I’m using Ollama as an agent and sometimes the flow fails with an error where a tool call failed usually due to a validation issue (e.g., expecting a list but getting a string).
This caused the build to stop without returning a response. Here’s a snippet of the error:
Instead of crashing, is there a way to add a fallback mechanism to return a generic error message (e.g., "Tool call failed, please check input") and keep the flow running? This would improve the user experience by avoiding silent failures ?
Beta Was this translation helpful? Give feedback.
All reactions