mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-07 08:26:10 +00:00
Update endpoints.py
This commit is contained in:
parent
1f2f24e018
commit
d4344fb85e
1 changed files with 2 additions and 2 deletions
|
|
@ -172,9 +172,9 @@ async def create_batch(
|
|||
)
|
||||
|
||||
# Create batch using model credentials
|
||||
resolved_model = _create_batch_data.pop("model", None) or model_from_file_id
|
||||
_create_batch_data.pop("model", None) # avoid duplicate kwarg if data has model
|
||||
response = await litellm.acreate_batch(
|
||||
model=resolved_model,
|
||||
model=model_from_file_id,
|
||||
custom_llm_provider=credentials["custom_llm_provider"],
|
||||
**_create_batch_data, # type: ignore
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue