Back to const
This commit is contained in:
parent
3c0664dfb6
commit
7408673e41
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue