Update context sizes for new Cohere models

ecbf9df79accbd61e021b8000668ff954e4e12d7

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +2 -2Showing whitespace changes
public/scripts/openai.js+2 -2
@@ -4196,10 +4196,10 @@ async function onModelChange() {
41964196 else if (['command-light-nightly', 'command-nightly'].includes(oai_settings.cohere_model)) {
41974197 $('#openai_max_context').attr('max', max_8k);
41984198 }
41994199 else if (oai_settings.cohere_model.includes('command-r') || ['c4ai-aya-expanse-32b'].includes(oai_settings.cohere_model)) {
42004200 $('#openai_max_context').attr('max', max_128k);
42014201 }
42024202 else if (['c4ai-aya-23', 'c4ai-aya-expanse-8b'].includes(oai_settings.cohere_model)) {
42034203 $('#openai_max_context').attr('max', max_8k);
42044204 }
42054205 else {