Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

fix(routing): include avideo_create_character and avideo_get_character in router-first routing

Sameer Kankute2ec4ce178c1b
diff --git a/litellm/proxy/route_llm_request.py b/litellm/proxy/route_llm_request.py
index a8169ca6d08..e5fc9fe76a4 100644
--- a/litellm/proxy/route_llm_request.py
+++ b/litellm/proxy/route_llm_request.py
@@ -461,10 +461,13 @@ async def route_request( # noqa: PLR0915 - Complex routing function, refactorin
"avideo_status",
"avideo_content",
"avideo_remix",
+ "avideo_create_character",
+ "avideo_get_character",
"avideo_edit",
"avideo_extension",
]:
- # Video endpoints: If model is provided (e.g., from decoded video_id), try router first
+ # Video endpoints: If model is provided (e.g., from decoded video_id or target_model_names),
+ # try router first to allow for multi-deployment load balancing
try:
return getattr(llm_router, f"{route_type}")(**data)
except Exception: