Skip to content

Commit

Permalink
fix: Not waiting for chat name completion
Browse files Browse the repository at this point in the history
  • Loading branch information
RezaRahemtola committed Aug 15, 2024
1 parent ca7353a commit 89c3083
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/Chat.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 89c3083

Please sign in to comment.