mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-03-02 19:07:40 +01:00
use appropriate tokenizer with mistral completion source
This commit is contained in:
parent
5dd2e8cd88
commit
7acb61ab68
@ -384,6 +384,10 @@ export function getTokenizerModel() {
|
||||
return claudeTokenizer;
|
||||
}
|
||||
|
||||
if (oai_settings.chat_completion_source == chat_completion_sources.MISTRALAI) {
|
||||
return mistralTokenizer;
|
||||
}
|
||||
|
||||
// Default to Turbo 3.5
|
||||
return turboTokenizer;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user