diff --git a/gensettings.py b/gensettings.py index fc533496..a55ae82c 100644 --- a/gensettings.py +++ b/gensettings.py @@ -97,6 +97,17 @@ gensettingstf = [{ "default": 3, "tooltip": "Number of historic actions to scan for W Info keys." }, + { + "uitype": "toggle", + "unit": "bool", + "label": "Auto Save", + "id": "autosave", + "min": 0, + "max": 1, + "step": 1, + "default": 0, + "tooltip": "Whether the game is saved after each action." + }, { "uitype": "toggle", "unit": "bool", @@ -107,17 +118,6 @@ gensettingstf = [{ "step": 1, "default": 1, "tooltip": "Whether the prompt should be sent in the context of every action." - }, - { - "uitype": "toggle", - "unit": "bool", - "label": "Chat Mode", - "id": "setchatmode", - "min": 0, - "max": 1, - "step": 1, - "default": 0, - "tooltip": "This mode optimizes KoboldAI for chatting." }, { "uitype": "toggle", @@ -129,6 +129,17 @@ gensettingstf = [{ "step": 1, "default": 0, "tooltip": "Turn this on if you are playing a Choose your Adventure model." + }, + { + "uitype": "toggle", + "unit": "bool", + "label": "Chat Mode", + "id": "setchatmode", + "min": 0, + "max": 1, + "step": 1, + "default": 0, + "tooltip": "This mode optimizes KoboldAI for chatting." }, { "uitype": "toggle", @@ -172,19 +183,9 @@ gensettingstf = [{ "max": 1, "step": 1, "default": 0, - "tooltip": "Disables userscript generation modifiers." - }, - { - "uitype": "toggle", - "unit": "bool", - "label": "Auto Save", - "id": "autosave", - "min": 0, - "max": 1, - "step": 1, - "default": 0, - "tooltip": "Whether the game is saved after each action." - }] + "tooltip": "Disables userscript generation modifiers." + } +] gensettingsik =[{ "uitype": "slider", @@ -252,6 +253,17 @@ gensettingsik =[{ "default": 3, "tooltip": "Number of historic actions to scan for W Info keys." }, + { + "uitype": "toggle", + "unit": "bool", + "label": "Auto Save", + "id": "autosave", + "min": 0, + "max": 1, + "step": 1, + "default": 0, + "tooltip": "Whether the game is saved after each action." + }, { "uitype": "toggle", "unit": "bool", @@ -262,17 +274,6 @@ gensettingsik =[{ "step": 1, "default": 1, "tooltip": "Whether the prompt should be sent in the context of every action." - }, - { - "uitype": "toggle", - "unit": "bool", - "label": "Chat Mode", - "id": "setchatmode", - "min": 0, - "max": 1, - "step": 1, - "default": 0, - "tooltip": "This mode optimizes KoboldAI for chatting." }, { "uitype": "toggle", @@ -284,6 +285,17 @@ gensettingsik =[{ "step": 1, "default": 0, "tooltip": "Turn this on if you are playing a Choose your Adventure model." + }, + { + "uitype": "toggle", + "unit": "bool", + "label": "Chat Mode", + "id": "setchatmode", + "min": 0, + "max": 1, + "step": 1, + "default": 0, + "tooltip": "This mode optimizes KoboldAI for chatting." }, { "uitype": "toggle", @@ -306,18 +318,8 @@ gensettingsik =[{ "step": 1, "default": 0, "tooltip": "When enabled, the Memory text box in the Random Story dialog will be prefilled by default with your current story's memory instead of being empty." - }, - { - "uitype": "toggle", - "unit": "bool", - "label": "Auto Save", - "id": "autosave", - "min": 0, - "max": 1, - "step": 1, - "default": 0, - "tooltip": "Whether the game is saved after each action." - }] + } +] formatcontrols = [{ "label": "Trim incomplete sentences",