fix model manifests (#477)

This commit is contained in:
Michael Yang 2023-09-06 14:30:08 -07:00 committed by GitHub
parent 1adfa67589
commit 83c6be1666
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
}