From f8bdaf51c77979b2dc0bea24c1b3ace25eeccdb3 Mon Sep 17 00:00:00 2001 From: Yujong Lee Date: Thu, 24 Sep 2026 23:50:26 +0000 Subject: [PATCH] style: format batch endpoint Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- litellm/proxy/batches_endpoints/endpoints.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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