Skip to content

Propagate LLM/tool call failures to agent workflow status #217

@bibryam

Description

@bibryam

Current behavior
When an LLM call or tool call fails with an unhandled exception, the overall agent workflow currently appears to complete successfully. See picture.

Expected behavior

  • If an LLM call fails and the error is not handled, the workflow can continue with certain steps (e.g., status recording, broadcast, finalize) but it should end in a failed status.
  • If a tool call fails and the error is not handled, the workflow should likewise end in a failed status.
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions