mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-03 23:56:07 +02:00
OpenAI: default temperature of 0.5
This commit is contained in:
@@ -2339,7 +2339,7 @@ public class FragmentOptionsMisc extends FragmentBase implements SharedPreferenc
|
||||
tilOpenAi.getEditText().setText(prefs.getString("openai_apikey", null));
|
||||
etOpenAiModel.setText(prefs.getString("openai_model", null));
|
||||
|
||||
float temperature = prefs.getFloat("openai_temperature", 1f);
|
||||
float temperature = prefs.getFloat("openai_temperature", 0.5f);
|
||||
tvOpenAiTemperature.setText(getString(R.string.title_advanced_openai_temperature, NF.format(temperature)));
|
||||
sbOpenAiTemperature.setProgress(Math.round(temperature * 10));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user