mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Better character tokens counting
This commit is contained in:
@ -595,6 +595,10 @@ $(document).ready(() => {
|
||||
const value = $(this).find(':selected').val();
|
||||
power_user.tokenizer = Number(value);
|
||||
saveSettingsDebounced();
|
||||
|
||||
// Trigger character editor re-tokenize
|
||||
$("#rm_ch_create_block").trigger('input');
|
||||
$("#character_popup").trigger('input');
|
||||
});
|
||||
|
||||
$(window).on('focus', function () {
|
||||
|
Reference in New Issue
Block a user