From ef089ca1052247b6c6ed8ed1dc6b199e201a54ed Mon Sep 17 00:00:00 2001 From: Xuan Son Nguyen Date: Sat, 11 Jan 2025 20:35:10 +0100 Subject: [PATCH] fix build --- common/arg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/arg.cpp b/common/arg.cpp index 112a0dc3e..dcf89489e 100644 --- a/common/arg.cpp +++ b/common/arg.cpp @@ -206,7 +206,7 @@ static std::pair common_get_hf_file(const std::string return std::make_pair(hf_repo, gguf_file.at("rfilename")); } #else -static std::string common_get_hf_file(const std::string &, const std::string &) { +static std::pair common_get_hf_file(const std::string &, const std::string &) { throw std::runtime_error("error: llama.cpp built without libcurl"); } #endif