From 247983265d217652e6cdbcb7e2ee1d85f3fc144e Mon Sep 17 00:00:00 2001 From: mintyleaf Date: Thu, 18 Dec 2025 12:12:16 +0400 Subject: [PATCH] fix(uri): consider subfolders when expanding huggingface URLs (#7634) Update uri.go Signed-off-by: mintyleaf --- pkg/downloader/uri.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/downloader/uri.go b/pkg/downloader/uri.go index 3a23589d1..f2ceb4b60 100644 --- a/pkg/downloader/uri.go +++ b/pkg/downloader/uri.go @@ -225,7 +225,7 @@ func (s URI) ResolveURL() string { repo := repoPieces[1] branch := "main" - filepath := repoPieces[2] + filepath := strings.Join(repoPieces[2:], "/") if len(repoID) > 1 { if strings.Contains(repo, "@") {