Compare commits

...

3 Commits

Author SHA1 Message Date
henk717 657de72ada
Merge: Better name formatting for chatmode 2022-03-04 18:24:39 +01:00
MrReplikant ff1be78f72
Merge pull request #1 from MrReplikant/MrReplikant-patch-1
Fixed unnecessary spacing in chatmode
2022-03-04 08:46:43 -06:00
MrReplikant ae143e896c
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.
2022-03-04 08:46:00 -06:00
1 changed files with 1 additions and 1 deletions

View File

@ -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"
# </s> mode
if(vars.newlinemode == "s"):