Files
open-webui/backend/open_webui
Classic298 381149ea5e fix: persist filter outlet() changes to structured message output (#27414)
When a filter's outlet() modified the structured assistant output in place, the change was shown immediately but lost after reload. outlet_filter_handler built its outlet payload with a shallow reference to the message's output list from messages_map, so the filter mutated the stored baseline itself and the subsequent output comparison compared the object against itself, never detecting a change and never persisting it. The same aliasing corrupted originalContent for messages whose text lives only in output. Deepcopy the output when building the outlet payload so messages_map stays a pristine pre-filter baseline and the existing change detection persists outlet-modified output through the existing upsert path. Fixes #27017.
2026-07-26 18:55:21 -04:00
..
2026-07-24 01:54:36 -04:00
2026-07-26 18:46:39 -04:00
2026-07-26 18:54:17 -04:00
2026-07-20 22:27:13 -04:00
2026-06-17 03:01:11 +02:00
2026-06-29 05:46:51 -05:00
2026-07-26 18:36:49 -04:00
2026-07-23 03:39:56 -04:00
2026-07-26 18:46:39 -04:00
2026-07-16 21:57:43 -04:00