mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-29 01:42:19 +00:00
style(adapter): format target gate
This commit is contained in:
parent
6132d8d369
commit
9cd6b03b57
1 changed files with 1 additions and 4 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue