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