From 2660b750308f0ab7ac58ae945eb278853771ab33 Mon Sep 17 00:00:00 2001 From: agustin18 Date: Tue, 29 Sep 2026 03:23:36 +0000 Subject: [PATCH] style(responses): format line length in transformation.py --- .../litellm_responses_transformation/transformation.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/litellm/completion_extras/litellm_responses_transformation/transformation.py b/litellm/completion_extras/litellm_responses_transformation/transformation.py index 092adf57ab7..f7d464ef629 100644 --- a/litellm/completion_extras/litellm_responses_transformation/transformation.py +++ b/litellm/completion_extras/litellm_responses_transformation/transformation.py @@ -704,11 +704,7 @@ class LiteLLMResponsesTransformationHandler(CompletionTransformationBridge): summary_texts: Final = [s["text"] for s in reasoning_item["summary"] if s.get("text")] if summary_texts: step_text: Final = " ".join(summary_texts) - reasoning_content = ( - f"{reasoning_content} {step_text}".strip() - if reasoning_content - else step_text - ) + reasoning_content = f"{reasoning_content} {step_text}".strip() if reasoning_content else step_text elif isinstance(item, ResponseOutputMessage): for content in item.content: