This commit is contained in:
Xuan Son Nguyen
2026-08-21 22:43:39 +02:00
parent 039426a696
commit 03eb25f393
18 changed files with 70 additions and 57 deletions
+1 -1
View File
@@ -475,7 +475,7 @@ static std::string detect_gguf_filename(const std::string & repo, const std::str
for (const auto & sibling : j["siblings"]) {
if (!sibling.contains("rfilename")) { continue; }
std::string fname = sibling["rfilename"].get<std::string>();
std::string fname = sibling["rfilename"];
if (fname.size() < 5 || fname.substr(fname.size() - 5) != ".gguf") {
continue;
}