fix model manifests (#477)
This commit is contained in:
parent
1adfa67589
commit
83c6be1666
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue