woops messed up restriction
This commit is contained in:
@@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user