Skip to content

Commit 1c3ec18

Browse files
committed
Add thinking literal
1 parent dd7d12e commit 1c3ec18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

litellm/llms/anthropic/experimental_pass_through/adapters/streaming_iterator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class AnthropicStreamWrapper(AdapterCompletionStreamWrapper):
3131
sent_first_chunk: bool = False
3232
sent_content_block_start: bool = False
3333
sent_content_block_finish: bool = False
34-
current_content_block_type: Literal["text", "tool_use"] = "text"
34+
current_content_block_type: Literal["text", "tool_use", "thinking"] = "text"
3535
sent_last_message: bool = False
3636
holding_chunk: Optional[Any] = None
3737
holding_stop_reason_chunk: Optional[Any] = None

0 commit comments

Comments
 (0)