litellm/tests/unit/a2a_protocol
Jesus Velarde b603fc24e3 fix(a2a): keep the token_exchange secret across agent edits and fail closed on unset env references
Agent reads now mask only token_exchange.client_secret instead of the whole block, and update/patch
restore the stored secret when it is omitted or echoed as the redaction marker. An os.environ/
reference in the block that resolves to nothing makes the block invalid (500 naming the field) instead
of silently dropping the field, a falsy token_exchange value keeps the agent's normal auth, and the
block is kept out of optional_params on the a2a/ chat provider and out of completion bridge kwargs.
2026-11-21 16:21:03 -08:00
..
litellm_completion_bridge fix(a2a): keep the token_exchange secret across agent edits and fail closed on unset env references 2026-11-21 16:21:03 -08:00
providers fix(a2a)!: bill completion-bridge agents at their own prices on /a2a send and stream (#49150) 2026-10-30 19:43:45 -07:00
__init__.py test: add __init__.py to migrated tests/unit packages 2026-09-20 11:53:49 +00:00
test_a2a_exception_mapping_utils.py fix(a2a): add per-agent a2a_protocol_version override for langgraph-api 0.15 cards (#44463) 2026-10-13 09:04:36 -04:00
test_a2a_streaming_iterator.py perf(token_counter): memoize token counts of long texts per tokenizer (#51904) 2026-11-16 19:21:55 +00:00
test_card_resolver.py refactor(typing): clear about 1,100 basedpyright Any errors across 303 files (#49986) 2026-11-06 13:31:15 -08:00
test_completion_bridge_streaming.py fix(a2a): add per-agent a2a_protocol_version override for langgraph-api 0.15 cards (#44463) 2026-10-13 09:04:36 -04:00
test_cost_calculator.py test(unit): wait on the work itself instead of fixed sleeps (#46261) 2026-10-13 12:41:06 -07:00
test_main.py perf(token_counter): memoize token counts of long texts per tokenizer (#51904) 2026-11-16 19:21:55 +00:00
test_send_message_response.py test(a2a): migrate a2a_protocol legacy tests to tests/unit 2026-09-20 19:23:52 +00:00
test_utils.py refactor(typing): clear 1181 basedpyright Any errors across 431 files (#47789) 2026-10-24 11:31:09 -07:00