mirror of
https://github.com/ollama/ollama.git
synced 2025-03-29 19:22:16 +01:00
This focuses on Windows first, but coudl be used for Mac and possibly linux in the future.
12 lines
185 B
Go
12 lines
185 B
Go
package store
|
|
|
|
import (
|
|
"os"
|
|
"path/filepath"
|
|
)
|
|
|
|
func getStorePath() string {
|
|
localAppData := os.Getenv("LOCALAPPDATA")
|
|
return filepath.Join(localAppData, "Ollama", "config.json")
|
|
}
|