mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-13 23:11:40 +00:00
Update route_llm_request.py
Co-authored-by: veria-ai[bot] <224490171+veria-ai[bot]@users.noreply.github.com>
This commit is contained in:
parent
8348e15857
commit
1cf002fd2b
1 changed files with 1 additions and 1 deletions
|
|
@ -542,7 +542,7 @@ async def _route_request_single_attempt( # noqa: ANN202 # returns unawaited pr
|
|||
# Otherwise the branches below swallow the request and it fails with
|
||||
# "no healthy deployments": `map_team_model` claims it for team-scoped keys, and the
|
||||
# wildcard/default-deployment fallback claims it whenever a pattern model group exists.
|
||||
if _is_a2a_agent_model(data.get("model", "")):
|
||||
if route_type == "acompletion" and _is_a2a_agent_model(data.get("model", "")):
|
||||
from litellm.proxy.agent_endpoints.a2a_routing import (
|
||||
route_a2a_agent_request,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue