mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-07 08:26:10 +00:00
fix: delete_file
This commit is contained in:
parent
0c785b333b
commit
ecb725f189
1 changed files with 1 additions and 0 deletions
|
|
@ -1101,6 +1101,7 @@ async def delete_file(
|
|||
**data_without_file_id,
|
||||
)
|
||||
else:
|
||||
data.pop("file_id", None)
|
||||
response = await litellm.afile_delete(
|
||||
custom_llm_provider=custom_llm_provider, file_id=file_id, **data # type: ignore
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue