open-webui/src
G30 de9234a2b8
fix: keep edited replies searchable by their new text (#31844)
Saving an edited reply stored the new structured output but set the message's plain content to an empty string. Chat search only matches message content, so the chat could no longer be found by the edited text, nor by the text it replaced.

editMessage now fills content from the edited output with the existing getOutputText, the same text the reply is shown with. Saving as a copy does the same. Output still takes precedence for rendering and for the next request to the model, so only the searchable copy changes.

Fixes #31471

Co-authored-by: RaulMermans <214883465+RaulMermans@users.noreply.github.com>
2026-10-05 06:43:49 +04:00
..
lib fix: keep edited replies searchable by their new text (#31844) 2026-10-05 06:43:49 +04:00
routes refac 2026-10-01 08:13:45 +04:00
app.css refac 2026-09-10 19:05:36 -04:00
app.d.ts chat feature added 2023-10-08 15:38:42 -07:00
app.html refac 2026-07-27 19:39:36 -04:00
tailwind.css chore: format 2026-08-31 10:48:28 -04:00