This commit is contained in:
Timothy Jaeryang Baek 2024-12-19 15:45:31 -08:00
parent 8535974ea3
commit 49b36937ad

View File

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