mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-30 01:52:18 +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
78d072c766
commit
f8bdaf51c7
1 changed files with 4 additions and 2 deletions
|
|
@ -238,8 +238,10 @@ 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