MistralAI: Explicitly set context size for ministral
This commit is contained in:
parent
ff2c71c4ef
commit
1ac6780e9c
|
@ -4129,6 +4129,8 @@ async function onModelChange() {
|
|||
$('#openai_max_context').attr('max', max_64k);
|
||||
} else if (oai_settings.mistralai_model.includes('pixtral')) {
|
||||
$('#openai_max_context').attr('max', max_128k);
|
||||
} else if (oai_settings.mistralai_model.includes('ministral')) {
|
||||
$('#openai_max_context').attr('max', max_32k);
|
||||
} else {
|
||||
$('#openai_max_context').attr('max', max_32k);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue