mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-15 13:55:19 +00:00
refac
This commit is contained in:
parent
8535974ea3
commit
49b36937ad
1 changed files with 9 additions and 0 deletions
|
|
@ -1569,6 +1569,15 @@
|
||||||
|
|
||||||
if (res) {
|
if (res) {
|
||||||
taskId = null;
|
taskId = null;
|
||||||
|
|
||||||
|
const responseMessage = history.messages[history.currentId];
|
||||||
|
responseMessage.done = true;
|
||||||
|
|
||||||
|
history.messages[history.currentId] = responseMessage;
|
||||||
|
|
||||||
|
if (autoScroll) {
|
||||||
|
scrollToBottom();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue