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

This commit is contained in:
Jeffrey Morgan
2024-06-14 13:43:56 -07:00
committed by GitHub
parent dd7c9ebeaf
commit 6b800aa7b7
2 changed files with 0 additions and 4 deletions

View File

@@ -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 {