From 28197fe0cb6c705cf1f4394e7dbb8a8d62d03348 Mon Sep 17 00:00:00 2001 From: Deepanshu Pal <40927968+DeepanshuPal@users.noreply.github.com> Date: Fri, 2 Oct 2026 06:41:02 +0530 Subject: [PATCH] fix(proxy): drop narrating comment --- litellm/proxy/pass_through_endpoints/streaming_handler.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/litellm/proxy/pass_through_endpoints/streaming_handler.py b/litellm/proxy/pass_through_endpoints/streaming_handler.py index 6cda69bd8fe..e9bd3113693 100644 --- a/litellm/proxy/pass_through_endpoints/streaming_handler.py +++ b/litellm/proxy/pass_through_endpoints/streaming_handler.py @@ -314,8 +314,6 @@ class PassThroughStreamingHandler: and _is_message_stop_chunk(complete_frames) and not _is_provider_error_chunk(complete_frames) ) - # An in-band ``event: error`` on a cleanly closed 200 stream is an upstream - # failure, not a success: log it as one (partial usage included). provider_error: Final = parse_anthropic_error_event(complete_frames) if complete_frames else None if endpoint_type == EndpointType.ANTHROPIC and provider_error is not None: _, error_message, error_status_code = provider_error