From 8462599ceedea537a9f30f6042913fa5f244c3f8 Mon Sep 17 00:00:00 2001 From: xander Date: Sat, 9 May 2026 16:47:24 +0800 Subject: [PATCH] fix(responses): collapse helper call to one line for black 24.10.0 --- .../litellm_responses_transformation/transformation.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/litellm/completion_extras/litellm_responses_transformation/transformation.py b/litellm/completion_extras/litellm_responses_transformation/transformation.py index cb3a0b6b4fe..49f5c5b1de3 100644 --- a/litellm/completion_extras/litellm_responses_transformation/transformation.py +++ b/litellm/completion_extras/litellm_responses_transformation/transformation.py @@ -813,9 +813,7 @@ class LiteLLMResponsesTransformationHandler(CompletionTransformationBridge): f"Chat provider: image -> {converted}" ) elif item_type == "file": - converted = self._convert_content_file_to_input_file( - item - ) + converted = self._convert_content_file_to_input_file(item) result.append(converted) verbose_logger.debug( f"Chat provider: file -> {converted}"