mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-05-22 03:10:03 +00:00
fixed sysprompt and swapped toggles
This commit is contained in:
parent
27e784a42d
commit
13d1405104
1 changed files with 4 additions and 4 deletions
|
|
@ -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;">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue