Skip to content

Python: [Bug]: A2AAgent Drops context_id in Message Preparation #4679

@sphenry

Description

@sphenry

Description

A2AAgent._prepare_message_for_a2a() does not pass Message.context_id through to A2AMessage.context_id, so every A2A request has context_id=None. Without patch, multi-turn A2A conversations lose turn correlation — orchestrator cannot track which turns belong to the same conversation.

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

In Review

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions