fix build

This commit is contained in:
Xuan Son Nguyen 2025-01-11 20:35:10 +01:00
parent 803031665a
commit ef089ca105

View File

@ -206,7 +206,7 @@ static std::pair<std::string, std::string> 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<std::string, std::string> common_get_hf_file(const std::string &, const std::string &) {
throw std::runtime_error("error: llama.cpp built without libcurl");
}
#endif