Skip to content

Python: [Bug]: A2A CancelTaskRequest Literal Mismatch #4676

@sphenry

Description

@sphenry

Description

agent-framework-a2a hardcodes Literal['tasks/cancel'] instead of spec-correct 'task/cancel'. Any strict A2A client sending spec-compliant task/cancel would get rejected by the SDK's own type validation.

Code Sample

Error Messages / Stack Traces

Package Versions

python-1.0.0rc4

Python Version

No response

Additional Context

No response

Metadata

Metadata

Labels

bugSomething isn't workingpython

Type

Projects

Status

Triage

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions