This commit is contained in:
Timothy Jaeryang Baek 2025-07-18 18:26:43 +04:00
parent c414f0c3ce
commit 6478a50c72

View file

@ -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();
} }