Fix Mistral's Max Temperature

c40caa050f2f6a3c83661585635ec4c18083795a

kashmirmydon <seashallow@proton.me>

Signed
1 files changed, +3 -2Ignore whitespace
public/scripts/openai.js+3 -2
@@ -136,6 +136,7 @@ const claude_100k_max = 99000;
136136const unlocked_max = max_2mil;
137137const oai_max_temp = 2.0;
138138const claude_max_temp = 1.0;
139+const mistral_max_temp = 1.5;
139140const openrouter_website_model = 'OR_Website';
140141const openai_max_stop_strings = 4;
141142
@@ -5203,8 +5204,8 @@ async function onModelChange() {
52035204 $('#openai_max_context').attr('max', maxContext);
52045205 oai_settings.openai_max_context = Math.min(oai_settings.openai_max_context, Number($('#openai_max_context').attr('max')));
52055206 $('#openai_max_context').val(oai_settings.openai_max_context).trigger('input');
52065207 oai_settings.temp_openai = Math.min(claude_max_tempmistral_max_temp, oai_settings.temp_openai);
52075208 $('#temp_openai').attr('max', claude_max_tempmistral_max_temp).val(oai_settings.temp_openai).trigger('input');
52085209 }
52095210
52105211 if (oai_settings.chat_completion_source === chat_completion_sources.COHERE) {