From 1219d41b2a8dcc9230d0a0c881b0eecf3a1e8a72 Mon Sep 17 00:00:00 2001 From: SillyLossy Date: Fri, 12 May 2023 00:03:53 +0300 Subject: [PATCH] Fix Poe JB message substitution --- public/scripts/poe.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/scripts/poe.js b/public/scripts/poe.js index be3b021e3..3e2568a19 100644 --- a/public/scripts/poe.js +++ b/public/scripts/poe.js @@ -99,7 +99,7 @@ async function generatePoe(type, finalPrompt, signal) { if (poe_settings.auto_jailbreak && !auto_jailbroken) { for (let retryNumber = 0; retryNumber < MAX_RETRIES_FOR_ACTIVATION; retryNumber++) { - const reply = await sendMessage(poe_settings.jailbreak_message, false); + const reply = await sendMessage(substituteParams(poe_settings.jailbreak_message), false); if (reply.toLowerCase().includes(poe_settings.jailbreak_response.toLowerCase())) { auto_jailbroken = true;