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(files_endpoints.py): fix multiple args error

Krrish Dholakia7398e9447256
diff --git a/litellm/proxy/openai_files_endpoints/files_endpoints.py b/litellm/proxy/openai_files_endpoints/files_endpoints.py
index 27bce568950..f4400b682c7 100644
--- a/litellm/proxy/openai_files_endpoints/files_endpoints.py
+++ b/litellm/proxy/openai_files_endpoints/files_endpoints.py
@@ -149,9 +149,7 @@ async def create_file(
_create_file_request.update(llm_provider_config)
# for now use custom_llm_provider=="openai" -> this will change as LiteLLM adds more providers for acreate_batch
- response = await litellm.acreate_file(
- **_create_file_request, custom_llm_provider=custom_llm_provider # type: ignore
- )
+ response = await litellm.acreate_file(**_create_file_request) # type: ignore
### ALERTING ###
asyncio.create_task(