Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.
fix panic on bootstrapDevices (#12475)
Daniel Hiltgen05a43e078a89
diff --git a/discover/runner.go b/discover/runner.goindex 2c64264e4..8071111fa 100644--- a/discover/runner.go+++ b/discover/runner.go@@ -456,7 +456,7 @@ func bootstrapDevices(ctx context.Context, ollamaLibDirs []string, extraEnvs []sextra := strings.SplitN(extraEnvs[j], "=", 2)if cmp[0] == extra[0] {cmd.Env[i] = extraEnvs[j]- extraDone[i] = true+ extraDone[j] = true}}}