From d979093f9a74636e3a8c3b2cd4b0111faaea8ee2 Mon Sep 17 00:00:00 2001 From: Kent <72616338+kingdoooo@users.noreply.github.com> Date: Sun, 17 May 2026 08:13:28 +0000 Subject: [PATCH] style: black formatting --- litellm/llms/anthropic/chat/transformation.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/litellm/llms/anthropic/chat/transformation.py b/litellm/llms/anthropic/chat/transformation.py index 5fc8a343226..237e80205b7 100644 --- a/litellm/llms/anthropic/chat/transformation.py +++ b/litellm/llms/anthropic/chat/transformation.py @@ -1495,9 +1495,7 @@ class AnthropicConfig(AnthropicModelInfo, BaseConfig): # the wire body, and Anthropic / Bedrock reject the # request with "Thinking may not be enabled when # tool_choice forces tool use". - is_adaptive_thinking = self._is_adaptive_thinking_model( - model - ) + is_adaptive_thinking = self._is_adaptive_thinking_model(model) if not is_thinking_enabled and not is_adaptive_thinking: _tool_choice = { "name": RESPONSE_FORMAT_TOOL_NAME,