Skip to content

Python: [Bug]: A2AAgent inconsistent with BaseAgent: context_providers not triggered #4754

@lixiaoqiang

Description

@lixiaoqiang

Description

A2AAgent currently does not use context_providers, nor does it trigger the invocation of the passed ContextProvider before the start and after the end of an Agent call.
This causes A2AAgent to violate the semantic definition of BaseAgent, resulting in inconsistency.

Code Sample

Error Messages / Stack Traces

Package Versions

agent-framework: 1.0.0rc4

Python Version

No response

Additional Context

No response

Metadata

Metadata

Labels

bugSomething isn't workingpython

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions