Back to const

This commit is contained in:
Cohee 2024-05-08 20:59:59 +03:00
parent 3c0664dfb6
commit 7408673e41
1 changed files with 2 additions and 2 deletions

View File

@ -2575,8 +2575,8 @@ async function checkWorldInfo(chat, maxContext) {
} }
}); });
var worldInfoBefore = WIBeforeEntries.length ? WIBeforeEntries.join('\n') : ''; const worldInfoBefore = WIBeforeEntries.length ? WIBeforeEntries.join('\n') : '';
var worldInfoAfter = WIAfterEntries.length ? WIAfterEntries.join('\n') : ''; const worldInfoAfter = WIAfterEntries.length ? WIAfterEntries.join('\n') : '';
if (shouldWIAddPrompt) { if (shouldWIAddPrompt) {
const originalAN = context.extensionPrompts[NOTE_MODULE_NAME].value; const originalAN = context.extensionPrompts[NOTE_MODULE_NAME].value;