litellm/litellm/a2a_protocol
Julio Quinteros Pro d6949e5323 Fix A2A message context_id access when message is a dict
The asend_message function accessed request.params.message.context_id
using attribute syntax, but message can be either a dict or an object.
Handle both cases using isinstance check, matching the existing pattern
in litellm/a2a_protocol/utils.py.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-04 11:16:48 -03:00
..
litellm_completion_bridge [Feat] New provider - Agent Gateway, add pydantic ai agents (#18013) 2025-12-15 17:40:58 -08:00
providers [Refactor] litellm/init.py: lazy load LLMClientCache (#18008) 2025-12-16 05:44:06 -08:00
__init__.py [Fix] A2a Agent Gateway Fixes - A2A agents deployed with localhost/internal URLs in their agent cards (e.g., http://0.0.0.0:8001/) (#20604) 2026-02-06 15:02:34 -08:00
card_resolver.py [Fix] A2a Agent Gateway Fixes - A2A agents deployed with localhost/internal URLs in their agent cards (e.g., http://0.0.0.0:8001/) (#20604) 2026-02-06 15:02:34 -08:00
client.py fix mypy linting 2025-12-03 19:43:29 -08:00
cost_calculator.py [Feat] A2a gateway - Add cost per token pricing (#17780) 2025-12-10 13:08:15 -08:00
exception_mapping_utils.py fix(mypy): resolve type checking errors in 5 files (#20627) 2026-02-06 18:34:55 -08:00
exceptions.py [Fix] A2a Agent Gateway Fixes - A2A agents deployed with localhost/internal URLs in their agent cards (e.g., http://0.0.0.0:8001/) (#20604) 2026-02-06 15:02:34 -08:00
main.py Fix A2A message context_id access when message is a dict 2026-03-04 11:16:48 -03:00
streaming_iterator.py [Feat] Agent Gateway - Track agent_id in SpendLogs (#17795) 2025-12-10 16:09:56 -08:00
utils.py [Feat] Agent Gateway - Add token counting non streaming + streaming (#17779) 2025-12-10 11:45:28 -08:00