Merge branch 'KoboldAI:main' into united

This commit is contained in:
henk717 2022-03-04 18:24:56 +01:00 committed by GitHub
commit eb247d69c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -2599,7 +2599,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"
# If we're not continuing, store a copy of the raw input
if(data != ""):