mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 19:24:27 +00:00
fix(files_endpoints.py): fix multiple args error
This commit is contained in:
parent
b7f42c96a4
commit
b95d4bb61a
1 changed files with 1 additions and 3 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue