mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Disambiguize wi modes
This commit is contained in:
@@ -1924,8 +1924,8 @@ function world_info_entry(data) {
|
|||||||
// We may want to change the display names of these later
|
// We may want to change the display names of these later
|
||||||
wiTypeSelector.value = {
|
wiTypeSelector.value = {
|
||||||
chatcharacter: "Chat Character",
|
chatcharacter: "Chat Character",
|
||||||
wi: "World Info",
|
wi: "Keywords",
|
||||||
constant: "Memory",
|
constant: "Always On",
|
||||||
}[world_info_data[data.uid].type];
|
}[world_info_data[data.uid].type];
|
||||||
|
|
||||||
wiTypeSelector.classList.remove("pulse");
|
wiTypeSelector.classList.remove("pulse");
|
||||||
@@ -1939,10 +1939,10 @@ function world_info_entry(data) {
|
|||||||
case "Chat Character":
|
case "Chat Character":
|
||||||
world_info_data[data.uid].constant = true;
|
world_info_data[data.uid].constant = true;
|
||||||
break;
|
break;
|
||||||
case "Memory":
|
case "Always On":
|
||||||
world_info_data[data.uid].constant = true;
|
world_info_data[data.uid].constant = true;
|
||||||
break;
|
break;
|
||||||
case "World Info":
|
case "Keywords":
|
||||||
world_info_data[data.uid].constant = false;
|
world_info_data[data.uid].constant = false;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
@@ -1951,8 +1951,8 @@ function world_info_entry(data) {
|
|||||||
}
|
}
|
||||||
world_info_data[data.uid].type = {
|
world_info_data[data.uid].type = {
|
||||||
"Chat Character": "chatcharacter",
|
"Chat Character": "chatcharacter",
|
||||||
"Memory": "constant",
|
"Always On": "constant",
|
||||||
"World Info": "wi",
|
"Keywords": "wi",
|
||||||
}[wiTypeSelector.value];
|
}[wiTypeSelector.value];
|
||||||
send_world_info(data.uid);
|
send_world_info(data.uid);
|
||||||
this.classList.add("pulse");
|
this.classList.add("pulse");
|
||||||
|
@@ -18,8 +18,8 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<select class="world_info_type settings_select">
|
<select class="world_info_type settings_select">
|
||||||
<option>World Info</option>
|
<option>Keywords</option>
|
||||||
<option>Memory</option>
|
<option>Always On</option>
|
||||||
<option>Chat Character</option>
|
<option>Chat Character</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
Reference in New Issue
Block a user