From 14e9ccbc6afb99270c7fa14c663c36189a1565ee Mon Sep 17 00:00:00 2001 From: niansa/tuxifan Date: Fri, 9 Jun 2023 16:55:28 +0200 Subject: [PATCH] Do auto detection by default in C++ API Signed-off-by: niansa/tuxifan --- gpt4all-backend/llmodel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpt4all-backend/llmodel.h b/gpt4all-backend/llmodel.h index 95fe8267..7d06a901 100644 --- a/gpt4all-backend/llmodel.h +++ b/gpt4all-backend/llmodel.h @@ -77,7 +77,7 @@ public: static const std::vector& implementationList(); static const Implementation *implementation(std::ifstream& f, const std::string& buildVariant); - static LLModel *construct(const std::string &modelPath, std::string buildVariant = "default"); + static LLModel *construct(const std::string &modelPath, std::string buildVariant = "auto"); static void setImplementationsSearchPath(const std::string& path); static const std::string& implementationsSearchPath();