mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-14 09:03:16 +00:00
Merge d4344fb85e into 18b02380e5
This commit is contained in:
commit
ed1be2a3ba
1 changed files with 2 additions and 0 deletions
|
|
@ -374,7 +374,9 @@ async def create_batch(
|
|||
)
|
||||
|
||||
# Create batch using model credentials
|
||||
_create_batch_data.pop("model", None) # avoid duplicate kwarg if data has model
|
||||
response = await litellm.acreate_batch(
|
||||
model=model_from_file_id,
|
||||
custom_llm_provider=credentials["custom_llm_provider"],
|
||||
**_create_batch_data,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue