From 27f89df9d9225554fa0e2ac54ace7d8656ce212a Mon Sep 17 00:00:00 2001 From: somebody Date: Thu, 24 Nov 2022 21:53:16 -0600 Subject: [PATCH] Disambiguize wi modes --- static/koboldai.js | 12 ++++++------ templates/templates.html | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/static/koboldai.js b/static/koboldai.js index 975360c1..c2805a15 100644 --- a/static/koboldai.js +++ b/static/koboldai.js @@ -1924,8 +1924,8 @@ function world_info_entry(data) { // We may want to change the display names of these later wiTypeSelector.value = { chatcharacter: "Chat Character", - wi: "World Info", - constant: "Memory", + wi: "Keywords", + constant: "Always On", }[world_info_data[data.uid].type]; wiTypeSelector.classList.remove("pulse"); @@ -1939,10 +1939,10 @@ function world_info_entry(data) { case "Chat Character": world_info_data[data.uid].constant = true; break; - case "Memory": + case "Always On": world_info_data[data.uid].constant = true; break; - case "World Info": + case "Keywords": world_info_data[data.uid].constant = false; break; default: @@ -1951,8 +1951,8 @@ function world_info_entry(data) { } world_info_data[data.uid].type = { "Chat Character": "chatcharacter", - "Memory": "constant", - "World Info": "wi", + "Always On": "constant", + "Keywords": "wi", }[wiTypeSelector.value]; send_world_info(data.uid); this.classList.add("pulse"); diff --git a/templates/templates.html b/templates/templates.html index 3486c3ce..bd137833 100644 --- a/templates/templates.html +++ b/templates/templates.html @@ -18,8 +18,8 @@