mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-14 23:21:35 +00:00
Merge d4344fb85e into 44d84360fb
This commit is contained in:
commit
903abf40cb
1 changed files with 2 additions and 0 deletions
|
|
@ -231,7 +231,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