MistralAI: Explicitly set context size for ministral
| @@ -4129,6 +4129,8 @@ async function onModelChange() { | ||
| 4129 | 4129 | $('#openai_max_context').attr('max', max_64k); |
| 4130 | 4130 | } else if (oai_settings.mistralai_model.includes('pixtral')) { |
| 4131 | 4131 | $('#openai_max_context').attr('max', max_128k); |
| 4132 | + } else if (oai_settings.mistralai_model.includes('ministral')) { | |
| 4133 | + $('#openai_max_context').attr('max', max_32k); | |
| 4132 | 4134 | } else { |
| 4133 | 4135 | $('#openai_max_context').attr('max', max_32k); |
| 4134 | 4136 | } |