mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2024-12-12 09:26:33 +01:00
Revert entry post-process
This commit is contained in:
parent
88aae5978f
commit
e14c9506b6
@ -2580,8 +2580,8 @@ async function checkWorldInfo(chat, maxContext) {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
const worldInfoBefore = WIBeforeEntries.join('\n');
|
const worldInfoBefore = WIBeforeEntries.length ? WIBeforeEntries.join('\n') : '';
|
||||||
const worldInfoAfter = 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
Block a user