mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
make constant WI entries substitute before insert
This commit is contained in:
@@ -940,6 +940,7 @@ async function checkWorldInfo(chat, maxContext) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (entry.constant) {
|
if (entry.constant) {
|
||||||
|
entry.content = substituteParams(entry.content)
|
||||||
activatedNow.add(entry);
|
activatedNow.add(entry);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user