diff --git a/klite.embd b/klite.embd
index 7b4587fae..ee63c5cbe 100644
--- a/klite.embd
+++ b/klite.embd
@@ -3261,6 +3261,7 @@ Current version: 95
var lastcheckgenkey = ""; //for checking polled-streaming unique id when generating in kcpp
var globalabortcontroller = null;
var passed_ai_warning_local = false;
+ var filecomments = "";
var localsettings = {
my_api_key: "0000000000", //put here so it can be saved and loaded in persistent mode
@@ -4613,6 +4614,9 @@ Current version: 95
if (storyobj.wiinsertlocation) {
wi_insertlocation = storyobj.wiinsertlocation;
}
+ if (storyobj.filecomments) {
+ filecomments = storyobj.filecomments;
+ }
} else {
//v2 load
if(storyobj.prompt!="")
@@ -7631,6 +7635,7 @@ Current version: 95
last_token_budget = "";
last_known_filename = "saved_story.json";
groupchat_removals = [];
+ filecomments = "";
render_gametext(true); //necessary to trigger an autosave to wipe out current story in case they exit browser after newgame.
}
@@ -9960,7 +9965,8 @@ Current version: 95
document.getElementById("gametext").innerHTML = "Welcome to KoboldAI Lite!
You are using the models "
+ selmodelstr + "" + (selected_workers.length == 0 ? "" : (" (Pinned to " + selected_workers.length + " worker IDs)"))
- + "." + whorun +".
"+ nowmode +" Selected - Enter a prompt below to begin!" + "
Or, load a JSON File or a Character Card here." + "
Or, select a Quick Start Scenario here.
";
+ + "." + whorun +".
"+ nowmode +" Selected - Enter a prompt below to begin!" + "
Or, load a JSON File or a Character Card here." + "
Or, select a Quick Start Scenario here.
"+
+ (filecomments!=""?("
File Comments: "+escapeHtml(filecomments)+""):"");
}
//kick out of edit mode