mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Use GPT-4o tokenizer for Gemini
Use GPT-4o tokenizer for Gemini, as Gemini tokenizer is more similar to GPT-4o's
This commit is contained in:
@ -308,6 +308,10 @@ function getTokenizerModel(requestModel) {
|
||||
return 'yi';
|
||||
}
|
||||
|
||||
if (requestModel.includes('gemini')) {
|
||||
return 'gpt-4o';
|
||||
}
|
||||
|
||||
// default
|
||||
return 'gpt-3.5-turbo';
|
||||
}
|
||||
|
Reference in New Issue
Block a user