mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-11 03:38:02 +00:00
fix: Stop button stays after a server restart cuts off a reply (#32205)
When the server restarted while a reply was streaming, the page reconnected but kept showing the cut-off reply as still generating. The Stop button stayed and the next message got no answer until the page was reloaded. After reconnecting, the page now checks whether the reply is still being generated and, if not, shows it as finished, which is how it behaved before the shared chats change. Fixes #32204
This commit is contained in:
parent
088830cf82
commit
469cbc79e3
1 changed files with 1 additions and 0 deletions
|
|
@ -2865,6 +2865,7 @@
|
|||
!messageHasPendingAskUser(message)
|
||||
) {
|
||||
message.done = true;
|
||||
history = history;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue