From 131cfcdeaebb02f22e6c4ccfbb0b785ed02eb83c Mon Sep 17 00:00:00 2001 From: Adam Treat Date: Sat, 28 Oct 2023 16:41:03 -0400 Subject: [PATCH] Don't regenerate the name for deserialized chats. --- gpt4all-chat/chat.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/gpt4all-chat/chat.cpp b/gpt4all-chat/chat.cpp index 91560c50a99e..28cbb1433bf2 100644 --- a/gpt4all-chat/chat.cpp +++ b/gpt4all-chat/chat.cpp @@ -403,6 +403,7 @@ bool Chat::deserialize(QDataStream &stream, int version) emit idChanged(m_id); stream >> m_name; stream >> m_userName; + m_generatedName = QLatin1String("nonempty"); emit nameChanged(); QString modelId;