mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-15 04:19:08 +00:00
* fix(a2a): add per-agent a2a_protocol_version override for langgraph-api 0.15 cards Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * test(a2a): cover streamed 0.3 replies through the real client Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * test(a2a): accept new kwargs in create_a2a_client fake; add protocol-version integration tests The create_a2a_client fake in tests/agent_tests/test_a2a_agent.py listed a fixed signature, so asend_message's new protocol_version= kwarg raised TypeError in test_a2a_non_streaming and test_a2a_streaming. Accept and ignore extra kwargs with **_, matching the new _capture fake in test_main.py. Add tests/integration/compatibility cells for litellm_params.a2a_protocol_version against a real 2-worker proxy with Postgres and Redis and scripted A2A peers modeled on langgraph-api 0.15.4: pinned send/stream on all three routes, aliases, the 1.0 opt-out, unchanged genuine v1 agents, PATCH taking effect on both workers, persistence via /v1/agents, the localhost retry, invalid values, upstream errors, the dialect hint, and the completion bridge stripping the key. Merge base |
||
|---|---|---|
| .. | ||
| _a2a_peers.py | ||
| test_a2a_protocol_version_bridge.py | ||
| test_a2a_protocol_version_errors.py | ||
| test_a2a_protocol_version_override.py | ||
| test_a2a_wire_versions.py | ||
| test_codex_model_catalog.py | ||
| test_granian_admission_saturation.py | ||
| test_integration_worker_cleanup.py | ||
| test_missing_body_param_status.py | ||
| test_openai_consumer.py | ||
| test_openai_sdk_client_paths.py | ||
| test_openai_sdk_client_paths_chaos.py | ||
| test_persisted_toolsets.py | ||
| test_responses_openapi_schema.py | ||