Added command-a-03-2025 and command-a tokenizer

This commit is contained in:
bmen25124
2025-03-13 21:16:08 +03:00
parent 79a8080b7d
commit a77f4045f8
4 changed files with 57 additions and 7 deletions

View File

@ -4448,6 +4448,9 @@ async function onModelChange() {
else if (oai_settings.cohere_model.includes('command-r') || ['c4ai-aya-23', 'c4ai-aya-expanse-32b', 'command-nightly'].includes(oai_settings.cohere_model)) {
$('#openai_max_context').attr('max', max_128k);
}
else if (['command-a-03-2025'].includes(oai_settings.cohere_model)) {
$('#openai_max_context').attr('max', max_256k);
}
else if (['c4ai-aya-23-8b', 'c4ai-aya-expanse-8b'].includes(oai_settings.cohere_model)) {
$('#openai_max_context').attr('max', max_8k);
}