mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-01-05 21:46:49 +01:00
Run macro substitution before adding text to WI recursion buffer
This commit is contained in:
parent
62a073c51a
commit
596ab89ef7
@ -2223,7 +2223,7 @@ async function checkWorldInfo(chat, maxContext) {
|
||||
const text = newEntries
|
||||
.filter(x => !failedProbabilityChecks.has(x))
|
||||
.filter(x => !x.preventRecursion)
|
||||
.map(x => x.content).join('\n');
|
||||
.map(x => substituteParams(x.content)).join('\n');
|
||||
buffer.addRecurse(text);
|
||||
allActivatedText = (text + '\n' + allActivatedText);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user