Files
open-webui/backend/open_webui/utils
Classic298andGitHub 0fe9ed0d3c fix: Anthropic API streams report a failed response as a finished one (#31405)
When the provider failed partway through a streaming request to the Anthropic Messages endpoint, the stream still ended like a normally finished answer, so Claude Code and the Anthropic SDKs took the cut-off text as complete. The stream now ends with an Anthropic error event, with the provider's error message if it sent one, so clients raise an error. Successful streams are unchanged.

Fixes #31403
2026-09-27 23:20:50 +04:00
..
2026-09-21 11:35:30 -04:00
2026-09-12 14:57:22 -04:00
…
2026-09-19 17:54:09 -04:00
…
…
2026-09-12 15:41:57 -04:00
…
…
2026-09-21 11:35:30 -04:00
…
2026-09-15 22:47:03 -04:00
…