diff --git a/klite.embd b/klite.embd index ee63c5cbe..faa34116b 100644 --- a/klite.embd +++ b/klite.embd @@ -3261,7 +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 welcome = ""; var localsettings = { my_api_key: "0000000000", //put here so it can be saved and loaded in persistent mode @@ -4614,8 +4614,8 @@ Current version: 95 if (storyobj.wiinsertlocation) { wi_insertlocation = storyobj.wiinsertlocation; } - if (storyobj.filecomments) { - filecomments = storyobj.filecomments; + if (storyobj.welcome) { + welcome = storyobj.welcome; } } else { //v2 load @@ -7635,7 +7635,7 @@ Current version: 95 last_token_budget = ""; last_known_filename = "saved_story.json"; groupchat_removals = []; - filecomments = ""; + welcome = ""; render_gametext(true); //necessary to trigger an autosave to wipe out current story in case they exit browser after newgame. } @@ -9966,7 +9966,7 @@ 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.
"+ - (filecomments!=""?("
File Comments: "+escapeHtml(filecomments)+""):""); + (welcome!=""?("
"+escapeHtml(welcome)+""):""); } //kick out of edit mode