| 5203 | 5204 | $('#openai_max_context').attr('max', maxContext); |
| 5204 | 5205 | oai_settings.openai_max_context = Math.min(oai_settings.openai_max_context, Number($('#openai_max_context').attr('max'))); |
| 5205 | 5206 | $('#openai_max_context').val(oai_settings.openai_max_context).trigger('input'); |
| 5206 | 5207 | oai_settings.temp_openai = Math.min(claude_max_tempmistral_max_temp, oai_settings.temp_openai); |
| 5207 | 5208 | $('#temp_openai').attr('max', claude_max_tempmistral_max_temp).val(oai_settings.temp_openai).trigger('input'); |
| 5208 | 5209 | } |
| 5209 | 5210 | |
| 5210 | 5211 | if (oai_settings.chat_completion_source === chat_completion_sources.COHERE) { |