diff --git a/gpt4all-chat/chatllm.cpp b/gpt4all-chat/chatllm.cpp index 6528f41c..3f26f483 100644 --- a/gpt4all-chat/chatllm.cpp +++ b/gpt4all-chat/chatllm.cpp @@ -779,7 +779,7 @@ bool ChatLLM::serialize(QDataStream &stream, int version, bool serializeKV) } if (version <= 3) { - int responseLogits; + int responseLogits = 0; stream << responseLogits; } stream << m_ctx.n_past;