mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-08 03:08:02 +00:00
refac
This commit is contained in:
parent
18f6ec68b9
commit
b8d4577292
1 changed files with 1 additions and 1 deletions
|
|
@ -1296,7 +1296,7 @@
|
|||
|
||||
if (history.currentId) {
|
||||
for (const message of Object.values(history.messages)) {
|
||||
if (message && message.role === 'assistant' && message.done !== false) {
|
||||
if (message && message.role === 'assistant' && message.id !== history.currentId && message.done !== false) {
|
||||
message.done = true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue