Filter caret return symbols out of prompt

This commit is contained in:
SillyLossy
2023-03-07 15:10:19 +02:00
parent 1c9658c82a
commit 2a41834b3d

View File

@ -1397,6 +1397,7 @@
//mesSendString = mesSendString; //This edit simply removes the first "<START>" 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'){