diff --git a/litellm/proxy/batches_endpoints/endpoints.py b/litellm/proxy/batches_endpoints/endpoints.py index b88d7272945..3936b7f69f2 100644 --- a/litellm/proxy/batches_endpoints/endpoints.py +++ b/litellm/proxy/batches_endpoints/endpoints.py @@ -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