mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
use appropriate tokenizer with mistral completion source
This commit is contained in:
@@ -384,6 +384,10 @@ export function getTokenizerModel() {
|
|||||||
return claudeTokenizer;
|
return claudeTokenizer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (oai_settings.chat_completion_source == chat_completion_sources.MISTRALAI) {
|
||||||
|
return mistralTokenizer;
|
||||||
|
}
|
||||||
|
|
||||||
// Default to Turbo 3.5
|
// Default to Turbo 3.5
|
||||||
return turboTokenizer;
|
return turboTokenizer;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user