fix(uri): consider subfolders when expanding huggingface URLs (#7634)

Update uri.go

Signed-off-by: mintyleaf <mintyleafdev@gmail.com>
This commit is contained in:
mintyleaf authored and GitHub committed 2025-12-18 09:12:16 +01:00
1 parent 5515119a7e
commit 247983265d
1 file changed
+1 -1
+1 -1
View File
@@ -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, "@") {