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 <songkuan-zheng@users.noreply.github.com>
This commit is contained in:
songkuan-zheng 2026-06-27 22:44:20 +00:00
parent d5598eb5f1
commit 7e4f1da216

View file

@ -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