updated lite

This commit is contained in:
Concedo 2026-04-04 14:24:05 +08:00
parent a33eda3842
commit 235ec9a1b9

View file

@ -13769,7 +13769,7 @@ Current version indicated by LITEVER below.
console.log(values);
let mdlname = values.result;
if (!mdlname) {
msgbox("Error at Custom KoboldAI Endpoint!<br><br>The custom endpoint failed to respond correctly.<br><br>You may wish to <a href='#' class='color_blueurl' onclick='hide_popups();display_endpoint_container();'>try a different URL or API type</a>.","Error Encountered",true);
msgbox("Error at Custom KoboldAI Endpoint!<br><br>The custom endpoint failed to respond correctly.<br><br>You may wish to <a href='#' class='color_blueurl' onclick='hide_popups();force_allow_endpoint_selector();display_endpoint_container();'>try a different URL or API type</a>.","Error Encountered",true);
selected_models = [];
selected_workers = [];
@ -14066,7 +14066,7 @@ Current version indicated by LITEVER below.
{
const connectfailed = function()
{
msgbox("Failed to connect to Custom KoboldAI Endpoint!<br><br>Please check if KoboldAI is running at the url: " + desiredkoboldendpoint + "<br><br>You can also <a href='#' class='color_blueurl' onclick='hide_popups();display_endpoint_container();'>try a different URL or API type</a>.","Error Encountered",true);
msgbox("Failed to connect to Custom KoboldAI Endpoint!<br><br>Please check if KoboldAI is running at the url: " + desiredkoboldendpoint + "<br><br>You can also <a href='#' class='color_blueurl' onclick='hide_popups();force_allow_endpoint_selector();display_endpoint_container();'>try a different URL or API type</a>.","Error Encountered",true);
selected_models = [];
selected_workers = [];
custom_kobold_endpoint = "";
@ -14325,6 +14325,11 @@ Current version indicated by LITEVER below.
}
}
function force_allow_endpoint_selector()
{
koboldcpp_force_allow_endpoint_selector = true;
}
function display_endpoint_container()
{
mainmenu_untab(true);