mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
#2085 Implement async token counting
This commit is contained in:
@ -82,6 +82,7 @@ import {
|
||||
flushEphemeralStoppingStrings,
|
||||
context_presets,
|
||||
resetMovableStyles,
|
||||
forceCharacterEditorTokenize,
|
||||
} from './scripts/power-user.js';
|
||||
|
||||
import {
|
||||
@ -5840,10 +5841,11 @@ function changeMainAPI() {
|
||||
|
||||
if (main_api == 'koboldhorde') {
|
||||
getStatusHorde();
|
||||
getHordeModels();
|
||||
getHordeModels(true);
|
||||
}
|
||||
|
||||
setupChatCompletionPromptManager(oai_settings);
|
||||
forceCharacterEditorTokenize();
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////
|
||||
|
Reference in New Issue
Block a user