New Cohere model

This commit is contained in:
Cohee
2024-05-24 17:17:21 +03:00
parent 967a7980f5
commit 4d161768c0
2 changed files with 4 additions and 0 deletions

View File

@ -3857,6 +3857,9 @@ async function onModelChange() {
else if (['command-r', 'command-r-plus'].includes(oai_settings.cohere_model)) {
$('#openai_max_context').attr('max', max_128k);
}
else if(['c4ai-aya-23'].includes(oai_settings.cohere_model)) {
$('#openai_max_context').attr('max', max_8k);
}
else {
$('#openai_max_context').attr('max', max_4k);
}