mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-02-03 12:47:35 +01:00
Merge pull request #2773 from SillyTavern/fix-wi-sticky-on-recursion
Fix WI sticky possibly not sticking with delay until recursion when inclusion group is set too
This commit is contained in:
commit
a82617be5b
@ -3813,12 +3813,12 @@ export async function checkWorldInfo(chat, maxContext, isDryRun) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Only use checks for recursion flags if the scan step was activated by recursion
|
// Only use checks for recursion flags if the scan step was activated by recursion
|
||||||
if (scanState !== scan_state.RECURSION && entry.delayUntilRecursion) {
|
if (scanState !== scan_state.RECURSION && entry.delayUntilRecursion && !isSticky) {
|
||||||
log('suppressed by delay until recursion');
|
log('suppressed by delay until recursion');
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (scanState === scan_state.RECURSION && world_info_recursive && entry.excludeRecursion) {
|
if (scanState === scan_state.RECURSION && world_info_recursive && entry.excludeRecursion && !isSticky) {
|
||||||
log('suppressed by exclude recursion');
|
log('suppressed by exclude recursion');
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user