2023-12-26 16:03:45 -08:00
|
|
|
//go:build !windows && !darwin
|
|
|
|
|
|
|
|
package cmd
|
|
|
|
|
|
|
|
import (
|
|
|
|
"context"
|
2024-08-01 14:52:15 -07:00
|
|
|
"errors"
|
2023-12-26 16:03:45 -08:00
|
|
|
|
2024-03-26 13:04:17 -07:00
|
|
|
"github.com/ollama/ollama/api"
|
2023-12-26 16:03:45 -08:00
|
|
|
)
|
|
|
|
|
|
|
|
func startApp(ctx context.Context, client *api.Client) error {
|
2024-08-01 14:52:15 -07:00
|
|
|
return errors.New("could not connect to ollama server, run 'ollama serve' to start it")
|
2023-12-26 16:03:45 -08:00
|
|
|
}
|