diff --git a/aiserver.py b/aiserver.py index 4a8c98fc..580bb4d2 100644 --- a/aiserver.py +++ b/aiserver.py @@ -6846,6 +6846,7 @@ def ui2_connect(): #Send all variables to client koboldai_vars.send_to_ui() UI_2_load_cookies() + UI_2_theme_list_refresh(None) pass #==================================================================# diff --git a/koboldai_settings.py b/koboldai_settings.py index 30a1b74b..12fe6cbd 100644 --- a/koboldai_settings.py +++ b/koboldai_settings.py @@ -197,7 +197,7 @@ class koboldai_vars(object): authors_note_final = self.authornotetemplate.replace("<|>", self.authornote) used_all_tokens = False for i in range(len(self.actions)-1, -1, -1): - if len(self.actions) - i == self.andepth and self.authornote != "": + if len(self.actions) - i - 1 == self.andepth and self.authornote != "": game_text = "{}{}".format(authors_note_final, game_text) game_context.insert(0, {"type": "authors_note", "text": authors_note_final}) if self.actions.actions[i]["Selected Text Length"]+used_tokens <= token_budget and not used_all_tokens: diff --git a/themes/Darkness.css b/themes/Darkness.css index b58fd159..3f559498 100644 --- a/themes/Darkness.css +++ b/themes/Darkness.css @@ -171,7 +171,7 @@ --radius_wi_card: 10px; --radius_palette_card: 10px; --radius_settings_button: 5px; - --tabs_rounding: 2px; + --tabs_rounding: 5px; diff --git a/themes/Unicorn.css b/themes/Unicorn.css index 59450ce0..21d758fb 100644 --- a/themes/Unicorn.css +++ b/themes/Unicorn.css @@ -178,7 +178,7 @@ --radius_wi_card: 10px; --radius_palette_card: 10px; --radius_settings_button: 10px; - --tabs_rounding: 2px; + --tabs_rounding: 10px;