fix for missing author's notes

This commit is contained in:
ebolam
2022-08-27 20:00:54 -04:00
parent abc3e9f9c5
commit 93662c8488
2 changed files with 3 additions and 1 deletions

View File

@@ -1189,7 +1189,7 @@ class KoboldWorldInfo(object):
if self.tokenizer is not None:
token_length = len(self.tokenizer.encode(content))
else:
token_length = None
token_length = 0
if folder is None:
folder = "root"

View File

@@ -275,6 +275,7 @@ function do_prompt(data) {
item.append(span);
item.setAttribute("old_text", data.value)
item.classList.remove("pulse");
assign_world_info_to_action(item, null);
}
//if we have a prompt we need to disable the theme area, or enable it if we don't
if (data.value != "") {
@@ -289,6 +290,7 @@ function do_prompt(data) {
document.getElementById('input_text').disabled = false;
document.getElementById('themerow').classList.remove("hidden");
}
}
function do_story_text_length_updates(data) {