mirror of
https://github.com/tcsenpai/ollama.git
synced 2025-06-08 12:15:22 +00:00
fix model manifests (#477)
This commit is contained in:
parent
1adfa67589
commit
83c6be1666
@ -115,7 +115,7 @@ func GetManifestPath() (string, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
path := filepath.Join(home, ".ollama", "models", "manifests")
|
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
|
return "", err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user