Browse Source

fix model manifests (#477)

Michael Yang 1 year ago
parent
commit
83c6be1666
1 changed files with 1 additions and 1 deletions
  1. 1 1
      server/modelpath.go

+ 1 - 1
server/modelpath.go

@@ -115,7 +115,7 @@ func GetManifestPath() (string, error) {
 	}
 
 	path := filepath.Join(home, ".ollama", "models", "manifests")
-	if err := os.MkdirAll(filepath.Dir(path), 0o755); err != nil {
+	if err := os.MkdirAll(path, 0o755); err != nil {
 		return "", err
 	}