mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-03 02:22:24 +00:00
style: format batch endpoint
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
7921b01b1a
commit
78d072c766
1 changed files with 3 additions and 1 deletions
|
|
@ -237,7 +237,9 @@ async def _create_provider_batch_for_managed_file(
|
|||
}
|
||||
response: Final = await llm_router.acreate_batch(
|
||||
**request,
|
||||
**({} if input_content is None else {ANTHROPIC_BATCH_INPUT_CONTENT_KWARG: input_content}), # mutable-ok: kwargs require a concrete mapping
|
||||
**(
|
||||
{} if input_content is None else {ANTHROPIC_BATCH_INPUT_CONTENT_KWARG: input_content}
|
||||
), # mutable-ok: kwargs require a concrete mapping
|
||||
)
|
||||
response.input_file_id = input_file_id
|
||||
response._hidden_params["unified_file_id"] = unified_file_id
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue