| 4196 | else if (['command-light-nightly', 'command-nightly'].includes(oai_settings.cohere_model)) { | 4196 | else if (['command-light-nightly', 'command-nightly'].includes(oai_settings.cohere_model)) { |
| 4197 | $('#openai_max_context').attr('max', max_8k); | 4197 | $('#openai_max_context').attr('max', max_8k); |
| 4198 | } | 4198 | } |
| 4199 | else if (oai_settings.cohere_model.includes('command-r')) { | 4199 | else if (oai_settings.cohere_model.includes('command-r') || ['c4ai-aya-expanse-32b'].includes(oai_settings.cohere_model)) { |
| 4200 | $('#openai_max_context').attr('max', max_128k); | 4200 | $('#openai_max_context').attr('max', max_128k); |
| 4201 | } | 4201 | } |
| 4202 | else if (['c4ai-aya-23'].includes(oai_settings.cohere_model)) { | 4202 | else if (['c4ai-aya-23', 'c4ai-aya-expanse-8b'].includes(oai_settings.cohere_model)) { |
| 4203 | $('#openai_max_context').attr('max', max_8k); | 4203 | $('#openai_max_context').attr('max', max_8k); |
| 4204 | } | 4204 | } |
| 4205 | else { | 4205 | else { |