Replies: 2 comments 1 reply
-
|
Hi @chinuhou! I'm Dosu and I’m helping the dify team. Currently, Dify does not support built-in exception branches or custom error handling for Agent Node failures in workflows. When an error occurs in an Agent Node, the workflow stops and the error is included in the node's output, but there is no configuration to display a custom error message or continue the workflow based on the error state. This limitation is recognized by the maintainers, and there is an open feature request for exception branches in Agent Nodes, which would enable more flexible error handling in the future see discussion. If you need to display error messages, you can inspect the error fields in the node's output or workflow events, but there is no way to configure custom error messaging or downstream error handling without modifying the backend code see code reference. For now, monitoring the feature request or contributing to its implementation are the main options if you require this functionality. To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
-
|
@chinuhou e === n.L_.LLM || e === n.L_.Tool || e === n.L_.HttpRequest || e === n.L_.Codejust adding Agent at the end, save it and refresh the browser e === n.L_.LLM || e === n.L_.Tool || e === n.L_.HttpRequest || e === n.L_.Code || e === n.L_.Agenti have tried in 1.10.0 and 1.11.4 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Self Checks
Content
I have a workflow that uses an Agent Node.
However, when an error occurs in the Agent Node, the workflow stops and no results are returned.
I would like to display an error message when an Agent Node error occurs.
How should I configure this to work?
Beta Was this translation helpful? Give feedback.
All reactions