From 13d1405104c2fe7d7f18450e12825db81c5b4441 Mon Sep 17 00:00:00 2001 From: Concedo <39025047+LostRuins@users.noreply.github.com> Date: Sat, 25 May 2024 00:31:58 +0800 Subject: [PATCH] fixed sysprompt and swapped toggles --- klite.embd | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/klite.embd b/klite.embd index 2d10976d5..9ffec504e 100644 --- a/klite.embd +++ b/klite.embd @@ -7,7 +7,7 @@ Just copy this single static HTML file anywhere and open it in a browser, or fro Please go to https://github.com/LostRuins/lite.koboldai.net for updates on Kobold Lite. If you are submitting a pull request for Lite, PLEASE use the above repo, not the KoboldCpp one. Kobold Lite is under the AGPL v3.0 License unless otherwise exempted. Please do not remove this line. -Current version: 140 +Current version: 141 -Concedo --> @@ -10377,7 +10377,7 @@ Current version: 140 if(localsettings.opmode==4 && localsettings.instruct_sysprompt!="") { max_mem_len = Math.floor(max_allowed_characters*0.7); - appendedsysprompt = get_instruct_starttag(false)+" "+localsettings.instruct_sysprompt + "\n"; + appendedsysprompt = localsettings.instruct_sysprompt + "\n"; } let truncated_memory = appendedsysprompt + substring_to_boundary(current_memory, max_mem_len); if (truncated_memory != null && truncated_memory != "") { @@ -15335,7 +15335,7 @@ Current version: 140