-
Notifications
You must be signed in to change notification settings - Fork 37
Description
-
Transport Layer Crash (
request_metadata)- Problem: The SLIM transport layer was passing a
request_metadataargument to the underlying Google ADK transport, which caused aTypeErroras the ADK does not support this argument. - Fix: Implemented
CustomSRPCTransportinsrc/core/slim_transport.pyto intercept calls and filter outrequest_metadatawhile preservingextensionsbefore delegating to the ADK.
- Problem: The SLIM transport layer was passing a
-
Serialization Error (
ValueError: Unexpected type)- Problem: The agents were attempting to send raw Pydantic models (e.g.,
Assignment,Proposal) directly to the ADK. The ADK's Protobuf serializer requires standard Python types (dicts/lists), resulting in a crash. - Fix: Updated
src/agents/tools.pyto explicitly serialize Pydantic models using.model_dump(mode='json')before transmission.
- Problem: The agents were attempting to send raw Pydantic models (e.g.,
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Done