Skip to content

A2A: an unknown skill or an unexpected exception returns a failed task with no context #1573

Description

@bokelley

Version: adcp 9.0.0b4

Observed: message/send with an unknown skill gets a failed task whose artifact carries no context, even when the request had one. The same happens for any non-AdCP exception that escapes the tool caller.

Cause: ADCPAgentExecutor._send_error (adcp/server/a2a_server.py, around line 771) builds the failed task from the message alone. Only _send_adcp_error receives params and echoes context.

Expected: every response to a request that carried context echoes it, errors included. Pass params to _send_error and call inject_context.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions