mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 04:15:25 +00:00
refac
This commit is contained in:
parent
c414f0c3ce
commit
6478a50c72
1 changed files with 8 additions and 0 deletions
|
|
@ -1352,6 +1352,12 @@
|
||||||
);
|
);
|
||||||
|
|
||||||
history.messages[message.id] = message;
|
history.messages[message.id] = message;
|
||||||
|
|
||||||
|
await tick();
|
||||||
|
if (autoScroll) {
|
||||||
|
scrollToBottom();
|
||||||
|
}
|
||||||
|
|
||||||
await chatCompletedHandler(
|
await chatCompletedHandler(
|
||||||
chatId,
|
chatId,
|
||||||
message.model,
|
message.model,
|
||||||
|
|
@ -1361,6 +1367,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(data);
|
console.log(data);
|
||||||
|
await tick();
|
||||||
|
|
||||||
if (autoScroll) {
|
if (autoScroll) {
|
||||||
scrollToBottom();
|
scrollToBottom();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue