Files
open-webui/backend/open_webui/utils
Classic298 743a46bdcd fix: chat stays broken after a reply is stopped or fails before any text (#31892)
When a reply was stopped or failed before the model sent any text, the chat kept an empty reply, and every later message in that chat sent it back to the model as part of the conversation. Providers that reject empty assistant messages then refused every new request, so the chat stayed unusable unless the empty reply was deleted from the database by hand. Empty replies are now skipped when the conversation is sent to the model, as replies that ended in an error already were. Chats already stuck like this work again on their next message, since nothing stored has to change.

Fixes #25083
2026-10-03 17:06:03 +04:00
..
2026-09-21 11:35:30 -04:00
2026-10-01 03:31:20 +04:00
2026-08-24 18:29:36 -04:00
2026-09-19 17:54:09 -04:00
2026-03-17 17:58:01 -05:00
2026-07-23 02:54:56 -04:00
2026-07-26 21:12:14 -04:00
2026-07-31 17:41:14 -04:00
2026-08-23 13:36:53 -04:00
2026-10-01 03:31:20 +04:00
2026-09-27 23:29:38 +04:00
2026-10-01 08:38:21 +04:00
2026-07-26 23:09:22 -04:00
2026-10-01 03:31:20 +04:00
2026-10-01 03:31:20 +04:00
2026-08-17 00:57:57 -07:00
2026-03-17 17:58:01 -05:00
2026-08-24 18:29:36 -04:00
2026-09-21 11:35:30 -04:00
2026-06-19 00:16:06 +02:00
2026-10-01 03:31:20 +04:00
2026-10-01 03:31:20 +04:00
2026-09-15 22:47:03 -04:00
2026-07-31 17:41:14 -04:00