start_default.go 265 B

1234567891011121314
  1. //go:build !windows && !darwin
  2. package cmd
  3. import (
  4. "context"
  5. "errors"
  6. "github.com/ollama/ollama/api"
  7. )
  8. func startApp(ctx context.Context, client *api.Client) error {
  9. return errors.New("could not connect to ollama server, run 'ollama serve' to start it")
  10. }