store_darwin.go 229 B

1234567891011121314
  1. package store
  2. import (
  3. "os"
  4. "path/filepath"
  5. )
  6. func getStorePath() string {
  7. // TODO - system wide location?
  8. home := os.Getenv("HOME")
  9. return filepath.Join(home, "Library", "Application Support", "Ollama", "config.json")
  10. }