mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Substitute macro in Novel preamble
This commit is contained in:
@ -3416,7 +3416,7 @@ function parseTokenCounts(counts, thisPromptBits) {
|
||||
|
||||
function addChatsPreamble(mesSendString) {
|
||||
return main_api === 'novel'
|
||||
? nai_settings.preamble + '\n' + mesSendString
|
||||
? substituteParams(nai_settings.preamble) + '\n' + mesSendString
|
||||
: mesSendString;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user