refactor : remove libcurl, use OpenSSL when available (#18828)

This commit is contained in:
Adrien Gallouët 2026-01-14 18:02:47 +01:00 committed by GitHub
parent 3e4bb29666
commit 516a4ca9b5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
36 changed files with 74 additions and 500 deletions

View file

@ -341,7 +341,7 @@ static handle_model_result common_params_handle_model(
if (model.path.empty()) {
auto auto_detected = common_get_hf_file(model.hf_repo, bearer_token, offline);
if (auto_detected.repo.empty() || auto_detected.ggufFile.empty()) {
exit(1); // built without CURL, error message already printed
exit(1); // error message already printed
}
model.name = model.hf_repo; // repo name with tag
model.hf_repo = auto_detected.repo; // repo name without tag