mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-11 03:38:38 +00:00
fix(proxy): drop narrating comment
This commit is contained in:
parent
6853826396
commit
28197fe0cb
1 changed files with 0 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue