This commit is contained in:
ebolam
2022-07-01 19:54:33 -04:00
parent 63f44f8204
commit b79ec8b1c5

View File

@@ -6141,7 +6141,7 @@ def UI_2_save_story(data):
@socketio.on('Set Selected Text') @socketio.on('Set Selected Text')
def UI_2_Set_Selected_Text(data): def UI_2_Set_Selected_Text(data):
print("Updating Selected Text: {}".format(data)) print("Updating Selected Text: {}".format(data))
koboldai_vars.actions.use_option(int(data['id'])) koboldai_vars.actions.use_option(int(data['option']), action_step=int(data['chunk']))
#==================================================================# #==================================================================#
# Event triggered when user clicks the submit button # Event triggered when user clicks the submit button