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
Signed| @@ -3813,12 +3813,12 @@ export async function checkWorldInfo(chat, maxContext, isDryRun) { | ||
| 3813 | 3813 | } |
| 3814 | 3814 | |
| 3815 | 3815 | // Only use checks for recursion flags if the scan step was activated by recursion |
| 3816 | 3816 | if (scanState !== scan_state.RECURSION && entry.delayUntilRecursion && !isSticky) { |
| 3817 | 3817 | log('suppressed by delay until recursion'); |
| 3818 | 3818 | continue; |
| 3819 | 3819 | } |
| 3820 | 3820 | |
| 3821 | 3821 | if (scanState === scan_state.RECURSION && world_info_recursive && entry.excludeRecursion && !isSticky) { |
| 3822 | 3822 | log('suppressed by exclude recursion'); |
| 3823 | 3823 | continue; |
| 3824 | 3824 | } |