mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Implement suggestions
This commit is contained in:
@@ -376,8 +376,8 @@ export function getCurrentOpenRouterModelTokenizer() {
|
||||
}
|
||||
|
||||
export function getCurrentDreamGenModelTokenizer() {
|
||||
const modelId = textgen_settings.openrouter_model;
|
||||
const model = openRouterModels.find(x => x.id === modelId);
|
||||
const modelId = textgen_settings.dreamgen_model;
|
||||
const model = dreamGenModels.find(x => x.id === modelId);
|
||||
if (model.id.startsWith('opus-v1-sm')) {
|
||||
return tokenizers.MISTRAL;
|
||||
} else if (model.id.startsWith('opus-v1-lg')) {
|
||||
|
Reference in New Issue
Block a user