From 7398e944725696254293edfd86f82d0df3c45e95 Mon Sep 17 00:00:00 2001 From: Krrish Dholakia Date: Thu, 22 Aug 2024 16:42:44 -0700 Subject: [PATCH] fix(files_endpoints.py): fix multiple args error --- litellm/proxy/openai_files_endpoints/files_endpoints.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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(