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