stop typer on chat change

This commit is contained in:
Emily
2024-12-18 17:07:19 +01:00
parent f908b0b4a9
commit 29bae329b4

View File

@@ -152,6 +152,8 @@ async function openChat(chat_id?: string) {
menuOpen.value = false; menuOpen.value = false;
if (!project.value) return; if (!project.value) return;
typer.stop();
currentChatMessages.value = []; currentChatMessages.value = [];
currentChatMessageDelta.value = ''; currentChatMessageDelta.value = '';