Files
open-webui/backend/open_webui
Classic298 dd514ee20b fix: persist upstream streaming error lines by awaiting the message upsert (#27365)
The branch that normalizes plain JSON error lines from streaming upstreams (lines without the SSE data: prefix) called Chats.upsert_message_to_chat_by_id_and_message_id without await. The coroutine was never executed, so the error was never written to the chat and Python emitted a "coroutine was never awaited" RuntimeWarning instead. The frontend still received the error event, but after a reload the message showed no trace of the failure.

The parallel error-persist branch further down the same handler already awaits the call; this aligns the two.
2026-07-23 17:49:18 -05:00
..
…
2026-06-29 12:40:20 -05:00
2026-07-23 13:41:16 -04:00
2026-07-23 14:29:27 -04:00
2026-07-23 13:41:16 -04:00
2026-07-20 22:27:13 -04:00
2026-07-23 03:39:30 -04:00
2026-06-17 03:01:11 +02:00
2026-07-14 17:34:00 -04:00
2026-06-29 05:46:51 -05:00
2026-07-09 17:28:05 -05:00
2026-07-23 03:39:56 -04:00
2026-07-23 04:16:14 -04:00
2026-07-16 21:57:43 -04:00