From 78d072c76624b17cbac21fe278c1a739938bba23 Mon Sep 17 00:00:00 2001 From: Yujong Lee Date: Thu, 24 Sep 2026 23:47:42 +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 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/litellm/proxy/batches_endpoints/endpoints.py b/litellm/proxy/batches_endpoints/endpoints.py index 9f6a868d7f2..b88d7272945 100644 --- a/litellm/proxy/batches_endpoints/endpoints.py +++ b/litellm/proxy/batches_endpoints/endpoints.py @@ -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