mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Fixd "model.id" check
This commit is contained in:
@ -637,7 +637,7 @@ export function getTokenizerModel() {
|
||||
return qwen2Tokenizer;
|
||||
}
|
||||
else if (model?.architecture?.tokenizer === 'Cohere') {
|
||||
if (oai_settings.openrouter_model.includes('command-a')) {
|
||||
if (model?.id && model?.id.includes('command-a')) {
|
||||
return commandATokenizer;
|
||||
}
|
||||
return commandRTokenizer;
|
||||
|
Reference in New Issue
Block a user