mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Fix ephemeral stopping strings flush
This commit is contained in:
@ -2388,6 +2388,10 @@ export function addEphemeralStoppingString(value) {
|
||||
}
|
||||
|
||||
export function flushEphemeralStoppingStrings() {
|
||||
if (EPHEMERAL_STOPPING_STRINGS.length === 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
console.debug('Flushing ephemeral stopping strings:', EPHEMERAL_STOPPING_STRINGS);
|
||||
EPHEMERAL_STOPPING_STRINGS.length = 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user