Skip to content

Upgrade to slima2a 0.2.2 #113

@muscariello

Description

@muscariello
  1. Transport Layer Crash (request_metadata)

    • Problem: The SLIM transport layer was passing a request_metadata argument to the underlying Google ADK transport, which caused a TypeError as the ADK does not support this argument.
    • Fix: Implemented CustomSRPCTransport in src/core/slim_transport.py to intercept calls and filter out request_metadata while preserving extensions before delegating to the ADK.
  2. 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.py to explicitly serialize Pydantic models using .model_dump(mode='json') before transmission.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions