Skip to content

Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.

Set `NumKeep` to `4` by default (#982)

Jeffrey Morgan06589a3b3015
diff --git a/api/types.go b/api/types.go
index e861ee3a7..ba23d74ab 100644
--- a/api/types.go
+++ b/api/types.go
@@ -293,7 +293,7 @@ func DefaultOptions() Options {
return Options{
// options set on request to runner
NumPredict: -1,
- NumKeep: 0,
+ NumKeep: 4,
Temperature: 0.8,
TopK: 40,
TopP: 0.9,