mirror of
https://github.com/open-webui/open-webui
synced 2024-12-29 07:12:07 +00:00
refac
This commit is contained in:
parent
8535974ea3
commit
49b36937ad
@ -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 New Issue
Block a user