mirror of
https://github.com/open-webui/open-webui
synced 2024-12-28 14:52:23 +00:00
refac
This commit is contained in:
parent
8535974ea3
commit
49b36937ad
@ -1569,6 +1569,15 @@
|
||||
|
||||
if (res) {
|
||||
taskId = null;
|
||||
|
||||
const responseMessage = history.messages[history.currentId];
|
||||
responseMessage.done = true;
|
||||
|
||||
history.messages[history.currentId] = responseMessage;
|
||||
|
||||
if (autoScroll) {
|
||||
scrollToBottom();
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user