mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-09-19 17:25:07 +02:00
updated lite
This commit is contained in:
+2
-2
@@ -12,7 +12,7 @@ Current version indicated by LITEVER below.
|
||||
-->
|
||||
<head>
|
||||
<script id="init-config">
|
||||
const LITEVER = 313;
|
||||
const LITEVER = 314;
|
||||
const urlParams = new URLSearchParams(window.location.search);
|
||||
var localflag = urlParams.get('local'); //this will be replaced automatically in embedded kcpp
|
||||
const STORAGE_PREFIX = (localflag?"e_":"")+"kaihordewebui_";
|
||||
@@ -7324,7 +7324,7 @@ Current version indicated by LITEVER below.
|
||||
pending_toolcall_objs.push(pending_toolcall_last_obj);
|
||||
pending_toolcall_last_obj = null;
|
||||
}
|
||||
if(synchro_polled_response=="" && last_stop_reason=="tool_calls" && pending_toolcall_objs!=null && pending_toolcall_objs.length>0)
|
||||
if((synchro_polled_response=="" || (synchro_polled_response.includes("<think>") && synchro_polled_response.includes("</think>"))) && last_stop_reason=="tool_calls" && pending_toolcall_objs!=null && pending_toolcall_objs.length>0)
|
||||
{
|
||||
//a tool call was triggered instead
|
||||
synchro_polled_resptoolcalls = [];
|
||||
|
||||
Reference in New Issue
Block a user