mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
fix for missing author's notes
This commit is contained in:
@@ -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"
|
||||
|
||||
|
@@ -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) {
|
||||
|
Reference in New Issue
Block a user