New mistral large model
| @@ -2845,6 +2845,7 @@ | ||
| 2845 | 2845 | <option value="mistral-small-2402">mistral-small-2402</option> |
| 2846 | 2846 | <option value="mistral-medium-2312">mistral-medium-2312</option> |
| 2847 | 2847 | <option value="mistral-large-2402">mistral-large-2402</option> |
| 2848 | + <option value="mistral-large-2407">mistral-large-2407</option> | |
| 2848 | 2849 | <option value="codestral-2405">codestral-2405</option> |
| 2849 | 2850 | <option value="codestral-mamba-2407">codestral-mamba-2407</option> |
| 2850 | 2851 | </optgroup> |
| @@ -4149,6 +4149,8 @@ async function onModelChange() { | ||
| 4149 | 4149 | $('#openai_max_context').attr('max', unlocked_max); |
| 4150 | 4150 | } else if (oai_settings.mistralai_model.includes('codestral-mamba')) { |
| 4151 | 4151 | $('#openai_max_context').attr('max', max_256k); |
| 4152 | + } else if (['mistral-large-2407', 'mistral-large-latest'].includes(oai_settings.mistralai_model)) { | |
| 4153 | + $('#openai_max_context').attr('max', max_128k); | |
| 4152 | 4154 | } else if (oai_settings.mistralai_model.includes('mistral-nemo')) { |
| 4153 | 4155 | $('#openai_max_context').attr('max', max_128k); |
| 4154 | 4156 | } else if (oai_settings.mistralai_model.includes('mixtral-8x22b')) { |