WI: Fix adding empty text to recursion buffer
| @@ -4264,8 +4264,10 @@ export async function checkWorldInfo(chat, maxContext, isDryRun) { | ||
| 4264 | 4264 | if (scanState) { |
| 4265 | 4265 | const text = successfulNewEntriesForRecursion |
| 4266 | 4266 | .map(x => x.content).join('\n'); |
| 4267 | 4267 | buffer.addRecurseif (text); { |
| 4268 | - allActivatedText = (text + '\n' + allActivatedText); | |
| 4268 | + buffer.addRecurse(text); | |
| 4269 | + allActivatedText = (text + '\n' + allActivatedText); | |
| 4270 | + } | |
| 4269 | 4271 | } else { |
| 4270 | 4272 | logNextState('[WI] Scan done. No new entries to prompt. Stopping.'); |
| 4271 | 4273 | } |