mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-02-09 16:49:01 +01: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:
parent
439ef0dc5e
commit
33b22bd4f8
@ -308,6 +308,10 @@ function getTokenizerModel(requestModel) {
|
||||
return 'yi';
|
||||
}
|
||||
|
||||
if (requestModel.includes('gemini')) {
|
||||
return 'gpt-4o';
|
||||
}
|
||||
|
||||
// default
|
||||
return 'gpt-3.5-turbo';
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user