From 89c3083cc22b9c21424582e6516d0194bf01e29b Mon Sep 17 00:00:00 2001 From: Reza Rahemtola Date: Thu, 15 Aug 2024 12:53:00 +0200 Subject: [PATCH] fix: Not waiting for chat name completion --- src/pages/Chat.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/Chat.vue b/src/pages/Chat.vue index 89434f9..ef795b6 100644 --- a/src/pages/Chat.vue +++ b/src/pages/Chat.vue @@ -374,7 +374,7 @@ async function setChat(chatId: string) { const title = loadedChat.title; if (title === defaultChatTopic || title === '') { // Set the chat name based on the first message - await setChatName(loadedChat.messages[0].content); + setChatName(loadedChat.messages[0].content); } // Determine if there is a message we need to respond to