mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-17 23:51:30 +00:00
style(anthropic): format adapter transformation
This commit is contained in:
parent
2a1d986645
commit
e5c1daf3d2
1 changed files with 3 additions and 3 deletions
|
|
@ -534,9 +534,9 @@ class LiteLLMAnthropicMessagesAdapter:
|
|||
|
||||
## ASSISTANT MESSAGE ##
|
||||
assistant_message_str: str | None = None
|
||||
assistant_content_list: list[
|
||||
dict[str, Any]
|
||||
] = [] # For content blocks with cache_control
|
||||
assistant_content_list: list[dict[str, Any]] = (
|
||||
[]
|
||||
) # For content blocks with cache_control
|
||||
has_cache_control_in_text = False
|
||||
tool_calls: list[ChatCompletionAssistantToolCall] = []
|
||||
reasoning_content_parts: list[str] = []
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue