WI: Fix adding empty text to recursion buffer

0088333ebf52376f3e83f4f76b8dc05a87283e24

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +4 -2Ignore whitespace
public/scripts/world-info.js+4 -2
@@ -4264,8 +4264,10 @@ export async function checkWorldInfo(chat, maxContext, isDryRun) {
42644264 if (scanState) {
42654265 const text = successfulNewEntriesForRecursion
42664266 .map(x => x.content).join('\n');
42674267 buffer.addRecurseif (text); {
4268- allActivatedText = (text + '\n' + allActivatedText);
4268+ buffer.addRecurse(text);
4269+ allActivatedText = (text + '\n' + allActivatedText);
4270+ }
42694271 } else {
42704272 logNextState('[WI] Scan done. No new entries to prompt. Stopping.');
42714273 }