Files
open-webui/backend
Classic298 5cfbbc3d09 fix: saving a chat without a reply's usage, output or error wipes them (#35009)
A chat save from an API client or an older tab that leaves out a reply's usage, output or error wiped them from the stored reply, so the admin analytics lost the reply's tokens and its failed status. A save now leaves the reply's fields it does not send as they were, usage, output and error included, the way the analytics kept them before chats were stored message by message, and the reopened reply keeps its tool output as well. Sending a field as empty clears it.

Fixes #35007
2026-11-25 03:39:48 +04:00
..
2024-02-24 22:35:11 -08:00
2024-09-06 04:59:20 +02:00
2026-11-02 08:48:51 +09:00