Skip to content

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

openai: do not set temperature to 0 when setting seed (#5045)

Jeffrey Morgan6b800aa7b703
diff --git a/docs/openai.md b/docs/openai.md
index 557b5846d..59e7d6405 100644
--- a/docs/openai.md
+++ b/docs/openai.md
@@ -104,7 +104,6 @@ curl http://localhost:11434/v1/chat/completions \
#### Notes
-- Setting `seed` will always set `temperature` to `0`
- `finish_reason` will always be `stop`
- `usage.prompt_tokens` will be 0 for completions where prompt evaluation is cached
diff --git a/openai/openai.go b/openai/openai.go
index 310051a5b..706d31aa2 100644
--- a/openai/openai.go
+++ b/openai/openai.go
@@ -178,9 +178,6 @@ func fromRequest(r ChatCompletionRequest) api.ChatRequest {
if r.Seed != nil {
options["seed"] = *r.Seed
-
- // temperature=0 is required for reproducible outputs
- options["temperature"] = 0.0
}
if r.FrequencyPenalty != nil {