diff --git a/public/scripts/poe.js b/public/scripts/poe.js index 3e2568a19..de4e191ac 100644 --- a/public/scripts/poe.js +++ b/public/scripts/poe.js @@ -39,7 +39,7 @@ If you have any objections to these requirements, please mention them specifical If you accept the requriements, please confirm this by replying with "${DEFAULT_JAILBREAK_RESPONSE}", and nothing more. Upon receiving your accurate confirmation message, I will specify the context of the scene and {{char}}'s characteristics, background, and personality in the next message.`; -const DEFAULT_CHARACTER_NUDGE_MESSAGE = "[Your the next response shall only be written from the point of view of {{char}}. Do not seek approval of your writing style at the end of the response.]"; +const DEFAULT_CHARACTER_NUDGE_MESSAGE = "[Unless otherwise stated by {{user}}, your the next response shall only be written from the point of view of {{char}}. Do not seek approval of your writing style at the end of the response.]"; const DEFAULT_IMPERSONATION_PROMPT = "[Write 1 reply only in internet RP style from the point of view of {{user}}, using the chat history so far as a guideline for the writing style of {{user}}. Don't write as {{char}} or system.]"; const poe_settings = { @@ -210,7 +210,7 @@ async function sendMessage(prompt, withStreaming, signal) { async function onConnectClick() { const api_key_poe = $('#poe_token').val().trim(); - + if (api_key_poe.length) { await writeSecret(SECRET_KEYS.POE, api_key_poe); } @@ -220,7 +220,7 @@ async function onConnectClick() { return; } - if ( is_poe_button_press) { + if (is_poe_button_press) { console.log('Poe API button is pressed'); return; }