mirror of https://github.com/ollama/ollama.git
This also moves the checkServerHeartbeat call out of the "RunE" Cobra stuff (that's the only word I have for that) to on-site where it's after the check for OLLAMA_MODELS, which allows the helpful error message to be printed before the server heartbeat check. This also arguably makes the code more readable without the magic/superfluous "pre" function caller. |
||
|---|---|---|
| .. | ||
| cmd.go | ||
| interactive.go | ||
| interactive_test.go | ||
| start_darwin.go | ||
| start_default.go | ||
| start_windows.go | ||