mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-09-19 09:15:18 +02:00
Revert "try use docker to prepare for upcoming deprecation"
This reverts commit d4791c5188eb99b3d160f5bbe482a93749cf96a0. (+2 squashed commit) Squashed commit: [d4791c51] try use docker to prepare for upcoming deprecation [1e120978] updated lite
This commit is contained in:
+4
-4
@@ -17079,7 +17079,7 @@ Current version indicated by LITEVER below.
|
||||
fulltxt = simpleMarkdown(fulltxt);
|
||||
}
|
||||
|
||||
let instruct_turns = repack_instruct_turns(fulltxt, `%SpcStg%`,`%SpcEtg%`);
|
||||
let instruct_turns = repack_instruct_turns(fulltxt, `%SpcStg%`,`%SpcEtg%`, true);
|
||||
fulltxt = "";
|
||||
for(let i=0;i<instruct_turns.length;++i)
|
||||
{
|
||||
@@ -17485,7 +17485,7 @@ Current version indicated by LITEVER below.
|
||||
</div>`;
|
||||
}
|
||||
|
||||
function repack_instruct_turns(input,usertag,aitag)
|
||||
function repack_instruct_turns(input,usertag,aitag,allow_blank)
|
||||
{
|
||||
let myturnchat = false; //who is currently speaking?
|
||||
let chatunits = []; //parse chat body into nice chat chunks
|
||||
@@ -17542,7 +17542,7 @@ Current version indicated by LITEVER below.
|
||||
}
|
||||
else
|
||||
{
|
||||
if(curr.trim()!="")
|
||||
if(allow_blank || curr.trim()!="")
|
||||
{
|
||||
chatunits.push({
|
||||
msg:curr,
|
||||
@@ -17573,7 +17573,7 @@ Current version indicated by LITEVER below.
|
||||
let st = get_instruct_starttag(false);
|
||||
let et = get_instruct_endtag(false);
|
||||
|
||||
let turns = repack_instruct_turns(input,st,et);
|
||||
let turns = repack_instruct_turns(input,st,et, false);
|
||||
return turns;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user