fix: temperature -> maxTemperature (#5554)

45f2951854906a219c62cf959fc2493a3eeb6c55

Cohee <18619528+Cohee1207@users.noreply.github.com>

Signed
1 files changed, +1 -1Ignore whitespace
public/scripts/openai.js+1 -1
@@ -5032,7 +5032,7 @@ function getGeminiMaxContext(model, isUnlocked) {
50325032 */
50335033function getGeminiMaxTemp(model) {
50345034 if (Array.isArray(model_list) && model_list.length > 0) {
50355035 const temp = model_list.find((record) => record.id === model)?.temperaturemaxTemperature;
50365036 if (Number.isFinite(temp) && temp > 0) {
50375037 return temp;
50385038 }