mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Back to const
This commit is contained in:
@@ -2575,8 +2575,8 @@ async function checkWorldInfo(chat, maxContext) {
|
||||
}
|
||||
});
|
||||
|
||||
var worldInfoBefore = WIBeforeEntries.length ? WIBeforeEntries.join('\n') : '';
|
||||
var worldInfoAfter = WIAfterEntries.length ? WIAfterEntries.join('\n') : '';
|
||||
const worldInfoBefore = WIBeforeEntries.length ? WIBeforeEntries.join('\n') : '';
|
||||
const worldInfoAfter = WIAfterEntries.length ? WIAfterEntries.join('\n') : '';
|
||||
|
||||
if (shouldWIAddPrompt) {
|
||||
const originalAN = context.extensionPrompts[NOTE_MODULE_NAME].value;
|
||||
|
Reference in New Issue
Block a user