mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Placeholders are not working in A/N / some extra suggestions about it SillyLossy/TavernAI#18
This commit is contained in:
@ -286,7 +286,7 @@ async function prepareOpenAIMessages(name2, storyString, worldInfoBefore, worldI
|
||||
}
|
||||
|
||||
if (oai_settings.jailbreak_system) {
|
||||
const jailbreakMessage = { "role": "system", "content": `[System note: ${oai_settings.nsfw_prompt}]` };
|
||||
const jailbreakMessage = { "role": "system", "content": substituteParams(`[System note: ${oai_settings.nsfw_prompt}]`) };
|
||||
openai_msgs.push(jailbreakMessage);
|
||||
|
||||
total_count += countTokens([jailbreakMessage], true);
|
||||
|
Reference in New Issue
Block a user