From 900575ee1ad11a489463cfed29b12c70fbf09c04 Mon Sep 17 00:00:00 2001 From: qvink Date: Sat, 22 Mar 2025 16:30:54 -0600 Subject: [PATCH] adding missing colon --- public/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/script.js b/public/script.js index 80113ebf6..9e5cec987 100644 --- a/public/script.js +++ b/public/script.js @@ -6036,7 +6036,7 @@ export function cleanUpMessage({ getMessage, isImpersonate, isContinue, displayI if (wrongName) { // If the message starts with the wrong name, delete the entire response - let startIndex = getMessage.indexOf(`${wrongName}`); + let startIndex = getMessage.indexOf(`${wrongName}:`); if (startIndex === 0) { getMessage = ''; console.debug(`Message started with the wrong name: "${wrongName}" - response was deleted.`);