From ae143e896cc09563a37a4543740ca6da682690c0 Mon Sep 17 00:00:00 2001 From: MrReplikant <74075031+MrReplikant@users.noreply.github.com> Date: Fri, 4 Mar 2022 08:46:00 -0600 Subject: [PATCH] Fixed unnecessary spacing in chatmode This makes it go from "john :" to "John:", as it's supposed to be. As simple as it is, it can easily throw a chatbot model for a loop. --- aiserver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aiserver.py b/aiserver.py index be860287..c1652a9e 100644 --- a/aiserver.py +++ b/aiserver.py @@ -2402,7 +2402,7 @@ def actionsubmit(data, actionmode=0, force_submit=False, force_prompt_gen=False, if(vars.chatmode and vars.gamestarted): data = re.sub(r'\n+', ' ', data) if(len(data)): - data = f"\n{vars.chatname} : {data}\n" + data = f"\n{vars.chatname}: {data}\n" # mode if(vars.newlinemode == "s"):