mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
fix Theme list not showing all themes
fix for AN depth off by 1 in context viewer
This commit is contained in:
@@ -6846,6 +6846,7 @@ def ui2_connect():
|
|||||||
#Send all variables to client
|
#Send all variables to client
|
||||||
koboldai_vars.send_to_ui()
|
koboldai_vars.send_to_ui()
|
||||||
UI_2_load_cookies()
|
UI_2_load_cookies()
|
||||||
|
UI_2_theme_list_refresh(None)
|
||||||
pass
|
pass
|
||||||
|
|
||||||
#==================================================================#
|
#==================================================================#
|
||||||
|
@@ -197,7 +197,7 @@ class koboldai_vars(object):
|
|||||||
authors_note_final = self.authornotetemplate.replace("<|>", self.authornote)
|
authors_note_final = self.authornotetemplate.replace("<|>", self.authornote)
|
||||||
used_all_tokens = False
|
used_all_tokens = False
|
||||||
for i in range(len(self.actions)-1, -1, -1):
|
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_text = "{}{}".format(authors_note_final, game_text)
|
||||||
game_context.insert(0, {"type": "authors_note", "text": authors_note_final})
|
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:
|
if self.actions.actions[i]["Selected Text Length"]+used_tokens <= token_budget and not used_all_tokens:
|
||||||
|
@@ -171,7 +171,7 @@
|
|||||||
--radius_wi_card: 10px;
|
--radius_wi_card: 10px;
|
||||||
--radius_palette_card: 10px;
|
--radius_palette_card: 10px;
|
||||||
--radius_settings_button: 5px;
|
--radius_settings_button: 5px;
|
||||||
--tabs_rounding: 2px;
|
--tabs_rounding: 5px;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@@ -178,7 +178,7 @@
|
|||||||
--radius_wi_card: 10px;
|
--radius_wi_card: 10px;
|
||||||
--radius_palette_card: 10px;
|
--radius_palette_card: 10px;
|
||||||
--radius_settings_button: 10px;
|
--radius_settings_button: 10px;
|
||||||
--tabs_rounding: 2px;
|
--tabs_rounding: 10px;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user