From 7e4f1da216d7bf4368993133fadc9f2aa7f051c8 Mon Sep 17 00:00:00 2001 From: songkuan-zheng <252822057+songkuan-zheng@users.noreply.github.com> Date: Sat, 27 Jun 2026 22:44:20 +0000 Subject: [PATCH] chore: ruff format reformat for upstream lint gate `ruff format --check` (delta-vs-base lint gate landed on litellm_internal_staging while this PR was open) flagged the `litellm.supports_reasoning(...)` call as line-wrappable. Apply the formatter's canonical single-line layout to satisfy the gate. No behavior change. Co-authored-by: songkuan-zheng <252822057+songkuan-zheng@users.noreply.github.com> Co-authored-by: songkuan-zheng --- litellm/llms/zai/chat/transformation.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/litellm/llms/zai/chat/transformation.py b/litellm/llms/zai/chat/transformation.py index 9b083fcb8eb..7a39b83cabd 100644 --- a/litellm/llms/zai/chat/transformation.py +++ b/litellm/llms/zai/chat/transformation.py @@ -50,9 +50,7 @@ class ZAIChatConfig(OpenAIGPTConfig): import litellm try: - if litellm.supports_reasoning( - model=model, custom_llm_provider=self.custom_llm_provider - ): + if litellm.supports_reasoning(model=model, custom_llm_provider=self.custom_llm_provider): base_params.extend(_REASONING_PARAMS) except Exception: pass