correct working directory for all builds

..and change cache file name as per suggestion.
This commit is contained in:
Sigbjørn Skjæret
2025-05-28 12:49:36 +02:00
committed by GitHub
parent 0fe7183ae4
commit d97b9ade51
2 changed files with 2 additions and 2 deletions

View File

@@ -47,7 +47,7 @@ static json get_hf_repo_dir(const std::string & hf_repo_with_branch, bool recurs
}
// we use "=" to avoid clashing with other component, while still being allowed on windows
std::string cached_response_fname = "tree=" + hf_repo + "/" + repo_path + "=" + branch + ".json";
std::string cached_response_fname = "test_vocab=" + hf_repo + "/" + repo_path + "=" + branch + ".json";
string_replace_all(cached_response_fname, "/", "_");
std::string cached_response_path = fs_get_cache_file(cached_response_fname);