From ae20274a1da1ed23cd2ff15e56eb831e0dec4034 Mon Sep 17 00:00:00 2001 From: Adam Treat Date: Thu, 1 Jun 2023 10:58:31 -0400 Subject: [PATCH] Fix compile --- gpt4all-chat/chatllm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpt4all-chat/chatllm.cpp b/gpt4all-chat/chatllm.cpp index a419f995..23312ced 100644 --- a/gpt4all-chat/chatllm.cpp +++ b/gpt4all-chat/chatllm.cpp @@ -216,7 +216,7 @@ bool ChatLLM::loadModel(const QString &modelName) m_modelInfo.model = LLModel::construct(filePath.toStdString()); if (m_modelInfo.model) { m_modelInfo.model->loadModel(filePath.toStdString()); - switch (m_modelInfo.model->getImplementation().modelType[0]) { + switch (m_modelInfo.model->implementation().modelType[0]) { case 'L': m_modelType = LLModelType::LLAMA_; break; case 'G': m_modelType = LLModelType::GPTJ_; break; case 'M': m_modelType = LLModelType::MPT_; break;