Description
When an agent inside a declarative workflow returned a failed response, the workflow treated it as success. It moved on to the next action and finished with a "completed" status and an empty message, so callers got a blank but apparently successful reply with no indication anything went wrong. This is the source of intermittent "empty
response" reports.
Expected behavior is that an agent failure should fail the workflow and the next node does not execute as if the previous was successful.
Code Sample
Error Messages / Stack Traces
Package Versions
Microsoft.Agents.AI.Worflows.Declarative
.NET Version
No response
Additional Context
No response
Description
When an agent inside a declarative workflow returned a failed response, the workflow treated it as success. It moved on to the next action and finished with a "completed" status and an empty message, so callers got a blank but apparently successful reply with no indication anything went wrong. This is the source of intermittent "empty
response" reports.
Expected behavior is that an agent failure should fail the workflow and the next node does not execute as if the previous was successful.
Code Sample
Error Messages / Stack Traces
Package Versions
Microsoft.Agents.AI.Worflows.Declarative
.NET Version
No response
Additional Context
No response