Fix gen mode on first generation

This commit is contained in:
somebody
2023-07-21 15:22:14 -05:00
parent 8d5ae38b45
commit c78401bd12

View File

@@ -3371,7 +3371,7 @@ def actionsubmit(
koboldai_vars.prompt = data
# Clear the startup text from game screen
emit('from_server', {'cmd': 'updatescreen', 'gamestarted': False, 'data': 'Please wait, generating story...'}, broadcast=True, room="UI_1")
calcsubmit("") # Run the first action through the generator
calcsubmit("", gen_mode=gen_mode) # Run the first action through the generator
if(not koboldai_vars.abort and koboldai_vars.lua_koboldbridge.restart_sequence is not None and len(koboldai_vars.genseqs) == 0):
data = ""
force_submit = True