Skip to content

Commit

Permalink
Don't regenerate the name for deserialized chats.
Browse files Browse the repository at this point in the history
  • Loading branch information
manyoso committed Oct 28, 2023
1 parent dc2e7d6 commit 131cfcd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gpt4all-chat/chat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 131cfcd

Please sign in to comment.