mirror of https://github.com/ollama/ollama.git
There are two bugs when using `/load <model>` for a model that doesn't exist, namely: 1. it will not restore the current model settings if the current model is a thinking model; and 2. it will crash is the current model is a non-thinking model This bug fix saves the current runOptions and then restores them if the model load doesn't happen. It also fixes the crash happening for non-thinking models. |
||
|---|---|---|
| .. | ||
| runner | ||
| cmd.go | ||
| cmd_test.go | ||
| interactive.go | ||
| interactive_test.go | ||
| start.go | ||
| start_darwin.go | ||
| start_default.go | ||
| start_windows.go | ||
| warn_thinking_test.go | ||