From 5b1a4fc7233f3ad2992f0d7cac0fb1a3ecaad209 Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Sat, 26 Oct 2024 17:03:01 +0300 Subject: [PATCH] Update char PHI macro lingo --- public/script.js | 2 +- public/scripts/templates/macros.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/public/script.js b/public/script.js index 1bb05e4cc..5112240dd 100644 --- a/public/script.js +++ b/public/script.js @@ -2570,7 +2570,7 @@ export function substituteParams(content, _name1, _name2, _original, _group, _re if (_replaceCharacterCard) { const fields = getCharacterCardFields(); environment.charPrompt = fields.system || ''; - environment.charJailbreak = fields.jailbreak || ''; + environment.charInstruction = environment.charJailbreak = fields.jailbreak || ''; environment.description = fields.description || ''; environment.personality = fields.personality || ''; environment.scenario = fields.scenario || ''; diff --git a/public/scripts/templates/macros.html b/public/scripts/templates/macros.html index f3b319af1..6e96ae4fa 100644 --- a/public/scripts/templates/macros.html +++ b/public/scripts/templates/macros.html @@ -9,7 +9,7 @@
  • {{original}}global prompts defined in API settings. Only valid in Advanced Definitions prompt overrides.
  • {{input}}the user input
  • {{charPrompt}}the Character's Main Prompt override
  • -
  • {{charJailbreak}}the Character's Jailbreak Prompt override
  • +
  • {{charInstruction}}the Character's Post-History Instructions override
  • {{description}}the Character's Description
  • {{personality}}the Character's Personality
  • {{scenario}}the Character's Scenario