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]

chore(videos): mark multi-branch video-create response as rebind-ok

mateo-berri7f0c1c766521
diff --git a/litellm/llms/custom_httpx/llm_http_handler.py b/litellm/llms/custom_httpx/llm_http_handler.py
index 53c38733ed7..76f109f0eb6 100644
--- a/litellm/llms/custom_httpx/llm_http_handler.py
+++ b/litellm/llms/custom_httpx/llm_http_handler.py
@@ -7061,7 +7061,7 @@ class BaseLLMHTTPHandler:
timeout=timeout,
)
elif video_generation_provider_config.use_multipart_form_data():
- response = sync_httpx_client.post(
+ response = sync_httpx_client.post( # rebind-ok: one of three mutually-exclusive branches
url=api_base,
headers=headers,
files=serialize_multipart_form_fields(data),
@@ -7168,7 +7168,7 @@ class BaseLLMHTTPHandler:
timeout=timeout,
)
elif video_generation_provider_config.use_multipart_form_data():
- response = await async_httpx_client.post(
+ response = await async_httpx_client.post( # rebind-ok: one of three mutually-exclusive branches
url=api_base,
headers=headers,
files=serialize_multipart_form_fields(data),