mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-03-13 10:30:14 +01:00
Support Qwen tokenizer fro Groq
This commit is contained in:
parent
159852233f
commit
9b631ed048
@ -694,6 +694,9 @@ export function getTokenizerModel() {
|
||||
}
|
||||
|
||||
if (oai_settings.chat_completion_source === chat_completion_sources.GROQ) {
|
||||
if (oai_settings.groq_model.includes('qwen')) {
|
||||
return qwen2Tokenizer;
|
||||
}
|
||||
if (oai_settings.groq_model.includes('llama-3') || oai_settings.groq_model.includes('llama3')) {
|
||||
return llama3Tokenizer;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user