mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 03:47:49 +01:00
refac
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user