woops messed up restriction

This commit is contained in:
2025-08-08 11:07:40 -04:00
parent 5fa7c7e5c7
commit 1927f4d187

View File

@@ -53,7 +53,7 @@ func (o openaiImpl) newRequestToOpenAIRequest(request Request) openai.ChatComple
// these are known models that do not support custom temperatures // these are known models that do not support custom temperatures
// all the o* models // all the o* models
// gpt-5* models // gpt-5* models
if !strings.HasPrefix(o.model, "o") && strings.HasPrefix(o.model, "gpt-5") { if !strings.HasPrefix(o.model, "o") && !strings.HasPrefix(o.model, "gpt-5") {
res.Temperature = openai.Float(*request.Temperature) res.Temperature = openai.Float(*request.Temperature)
} }
} }