From 2a41834b3d28a002f2cdb73e8d41c1105168cd55 Mon Sep 17 00:00:00 2001 From: SillyLossy Date: Tue, 7 Mar 2023 15:10:19 +0200 Subject: [PATCH] Filter caret return symbols out of prompt --- public/index.html | 1 + 1 file changed, 1 insertion(+) diff --git a/public/index.html b/public/index.html index 863fc7677..9dde83a8e 100644 --- a/public/index.html +++ b/public/index.html @@ -1397,6 +1397,7 @@ //mesSendString = mesSendString; //This edit simply removes the first "" that is prepended to all context prompts } finalPromt = worldInfoBefore+storyString+worldInfoAfter+extension_prompt+mesExmString+mesSendString+generatedPromtCache+promptBias; + finalPromt = finalPromt.replace(/\r/gm, ''); var generate_data; if(main_api == 'kobold'){