Files
open-webui/backend/open_webui/routers
Classic298andClaude Opus 4.8 a089842368 fix: don't revert replace/outlet content on chat save (#25485)
update_chat_by_id re-derived assistant content from `output` on every
save (serialize_output) so frontend edits to output items reflect in
content. But it ran unconditionally, so content set independently of
output — an __event_emitter__ {"type":"replace"} from an Action, or an
outlet filter footer — was reverted to the original output-derived text
on the next save. The reload reads chat.chat directly, so the change
vanished after navigating away (regression vs 0.9.2, which predates the
output mechanism).

Re-derive only when the message's `output` actually changed versus what's
stored, which still reflects genuine output edits but leaves
independently-set content intact.

Fixes #24585

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-01 11:45:05 -07:00
..
2026-05-31 14:59:28 -07:00
2026-05-19 20:44:38 +04:00
2026-06-01 09:53:04 -07:00
2026-05-14 13:12:59 +09:00
2026-06-01 11:34:46 -07:00
2026-05-21 14:01:57 +04:00
2026-05-31 18:42:28 -07:00
2026-05-21 14:01:57 +04:00
2026-05-31 15:10:48 -07:00
2026-05-14 13:19:00 +09:00
2026-05-21 14:01:57 +04:00
2026-05-21 15:29:49 +04:00
2026-05-21 16:25:25 +04:00