mirror of
				https://github.com/SillyTavern/SillyTavern.git
				synced 2025-06-05 21:59:27 +02: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:
		@@ -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
 | 
			
		||||
            if (scanState !== scan_state.RECURSION && entry.delayUntilRecursion) {
 | 
			
		||||
            if (scanState !== scan_state.RECURSION && entry.delayUntilRecursion && !isSticky) {
 | 
			
		||||
                log('suppressed by delay until recursion');
 | 
			
		||||
                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');
 | 
			
		||||
                continue;
 | 
			
		||||
            }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user