mirror of
https://github.com/BerriAI/litellm.git
synced 2026-12-01 01:18:34 +00:00
An agent with a token_exchange block and a custom_llm_provider now gets a 400 on /a2a/{agent_id}
before any IdP call, and the shared a2a/ registry lookup raises a 400 instead of calling the agent
with its static credential, so every route other than /a2a/{agent_id} on a URL agent fails closed.
The exchange now runs before the pre-call hooks, so a refused exchange no longer leaks a
max_parallel_requests reservation. An edit that omits token_exchange keeps the stored block, and an
unknown key in the block is a 500 that names it.
|
||
|---|---|---|
| .. | ||
| chat | ||
| __init__.py | ||
| test_common_utils.py | ||