mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-07 02:59:05 +00:00
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:
parent
d5598eb5f1
commit
7e4f1da216
1 changed files with 1 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue