From bc1bf45ef6bd9c732741a015f59d98fa7209bd5a Mon Sep 17 00:00:00 2001 From: Vigilans Date: Wed, 22 Apr 2026 10:53:06 +0800 Subject: [PATCH] fix: remove reasoning early return that skips content_block_stop --- .../responses_adapters/streaming_iterator.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/litellm/llms/anthropic/experimental_pass_through/responses_adapters/streaming_iterator.py b/litellm/llms/anthropic/experimental_pass_through/responses_adapters/streaming_iterator.py index edcd712d98d..8333d9c978b 100644 --- a/litellm/llms/anthropic/experimental_pass_through/responses_adapters/streaming_iterator.py +++ b/litellm/llms/anthropic/experimental_pass_through/responses_adapters/streaming_iterator.py @@ -248,9 +248,6 @@ class AnthropicResponsesStreamWrapper: if item else None ) - if item_type == "reasoning": - # Reasoning items are closed by individual part.done events - return if item_type == "web_search_call": self._emit_web_tool_use(item) return