mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Add automatic hide of the World Info Depth setting when using the alternative text generation method (alt gen ignores World Info Depth)
This commit is contained in:
@@ -193,7 +193,8 @@ gensettingstf = [
|
||||
"menu_path": "World Info",
|
||||
"sub_path": "",
|
||||
"classname": "user",
|
||||
"name": "widepth"
|
||||
"name": "widepth",
|
||||
"extra_classes": "var_sync_alt_system_alt_gen"
|
||||
},
|
||||
{
|
||||
"uitype": "toggle",
|
||||
|
@@ -199,6 +199,10 @@ border-top-right-radius: var(--tabs_rounding);
|
||||
margin: 2px;
|
||||
}
|
||||
|
||||
.setting_container.var_sync_alt_system_alt_gen[system_alt_gen="true"] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.chat_mode[story_chatmode="false"] {
|
||||
display: none;
|
||||
}
|
||||
|
@@ -1,6 +1,10 @@
|
||||
{% for item in settings %}
|
||||
{% if item["menu_path"] == menu and item['sub_path'] == sub_path %}
|
||||
{% if 'extra_classes' in item %}
|
||||
<div class="setting_container {{ item['extra_classes'] }}">
|
||||
{% else %}
|
||||
<div class="setting_container">
|
||||
{% endif %}
|
||||
<!---Top Row---->
|
||||
<span class="setting_label">
|
||||
<span>{{ item['label'] }}: </span><span class="helpicon material-icons-outlined" tooltip="{{ item['tooltip'] }}">help_icon</span>
|
||||
|
Reference in New Issue
Block a user