mirror of
https://github.com/open-webui/open-webui.git
synced 2026-12-05 02:57:57 -05:00
fix: error box stays after Continue Response recovers a failed reply (#34822)
When a reply broke off mid-stream and Continue Response then finished it, the old error stayed under the answer, also after a reload. Continuing now clears the old error as soon as the new attempt starts, on screen and in the saved chat. A continuation that fails again shows and saves its own error, and nothing sent to the model changes. Fixes #34814
This commit is contained in:
1 parent
7d1f815625
commit
d3ddbf715c
2 files changed
+2
No files matched your search
@@ -5590,6 +5590,7 @@
|
||||
if (history.messages[message.id].done == true) {
|
||||
const responseMessage = history.messages[message.id];
|
||||
responseMessage.done = false;
|
||||
responseMessage.error = null;
|
||||
await tick();
|
||||
|
||||
const model = ($models ?? [])
|
||||
|
||||
Reference in new issue
Block a user