style(adapter): format target gate

This commit is contained in:
adhavan18 2026-09-24 14:15:28 +05:30
parent 6132d8d369
commit 9cd6b03b57

View file

@ -629,10 +629,7 @@ class LiteLLMAnthropicMessagesAdapter:
if len(tool_calls) > 0:
assistant_message["tool_calls"] = tool_calls
if len(thinking_blocks) > 0 and (
model is None
or LiteLLMAnthropicMessagesAdapter.is_anthropic_claude_model(
model
)
model is None or LiteLLMAnthropicMessagesAdapter.is_anthropic_claude_model(model)
):
assistant_message["thinking_blocks"] = thinking_blocks
elif len(thinking_blocks) == 0: