mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-09-18 16:55:14 +02:00
fixed sysprompt and swapped toggles
This commit is contained in:
+4
-4
@@ -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
|
||||
<div class="settinglabel">
|
||||
<div class="justifyleft settingsmall">Chat PrePrompt <span class="helpicon">?<span
|
||||
class="helptext">Modifies the context, injecting tokens to improve chat quality for new chats.</span></span> </div>
|
||||
<input type="checkbox" id="adventure_context_mod" style="margin:0px 0 0;">
|
||||
<input type="checkbox" id="chat_context_mod" style="margin:0px 0 0;">
|
||||
</div>
|
||||
<div class="settinglabel">
|
||||
<div class="justifyleft settingsmall">Inject Timestamps <span class="helpicon">?<span
|
||||
@@ -15347,7 +15347,7 @@ Current version: 140
|
||||
<div class="settinglabel">
|
||||
<div class="justifyleft settingsmall">Adventure PrePrompt <span class="helpicon">?<span
|
||||
class="helptext">Modifies the context, injecting tokens to improve adventure quality for new adventures.</span></span> </div>
|
||||
<input type="checkbox" id="chat_context_mod" style="margin:0px 0 0;">
|
||||
<input type="checkbox" id="adventure_context_mod" style="margin:0px 0 0;">
|
||||
</div>
|
||||
</div>
|
||||
<div id="instructsection1" class="settinglabel hidden" style="padding-top: 3px;">
|
||||
|
||||
Reference in New Issue
Block a user