From abd4703c790a7509ec7b424e1d89c47643370298 Mon Sep 17 00:00:00 2001 From: AT Date: Tue, 14 Nov 2023 11:53:40 -0500 Subject: [PATCH] Update gpt4all-chat/embllm.cpp Co-authored-by: Jared Van Bortel Signed-off-by: AT --- gpt4all-chat/embllm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpt4all-chat/embllm.cpp b/gpt4all-chat/embllm.cpp index 09bb20f8..37a48294 100644 --- a/gpt4all-chat/embllm.cpp +++ b/gpt4all-chat/embllm.cpp @@ -38,7 +38,7 @@ bool EmbeddingLLM::loadModel() return false; } - if (m_model->implementation().modelType()[0] != 'B') { + if (m_model->implementation().modelType() != "Bert") { qWarning() << "WARNING: Model type is not sbert"; delete m_model; m_model = nullptr;