update lite

This commit is contained in:
Concedo 2025-10-23 19:38:54 +08:00
parent 12a8bfd453
commit 0aaa8ca3ab

View file

@ -4582,7 +4582,7 @@ Current version indicated by LITEVER below.
document.getElementById("lastreq2").innerHTML =
document.getElementById("lastreq3").innerHTML =
`<a href="#" class="color_grayurl mainnav" title="KoboldAI Lite Information"
onclick="msgbox('Source code is available at <a class=&quot;color_blueurl&quot; href=&quot;https://github.com/LostRuins/lite.koboldai.net&quot;>https://github.com/LostRuins/lite.koboldai.net</a><br>Please report any bugs you find there.<br><br>For local use, check out <a class=&quot;color_blueurl&quot; title=&quot;KoboldCpp Github&quot; href=&quot;https://github.com/LostRuins/koboldcpp&quot;>KoboldCpp</a>. For help, visit our <a class=&quot;color_blueurl&quot; title=&quot;KoboldAI Discord&quot; href=&quot;https://koboldai.org/discord&quot;>Discord</a>.','Information',true)">
onclick="msgbox('Source code is available at <a class=&quot;color_blueurl&quot; target=&quot;_blank&quot; href=&quot;https://github.com/LostRuins/lite.koboldai.net&quot;>https://github.com/LostRuins/lite.koboldai.net</a><br>Please report any bugs you find there.<br><br>For local use, check out <a class=&quot;color_blueurl&quot; target=&quot;_blank&quot; title=&quot;KoboldCpp Github&quot; href=&quot;https://github.com/LostRuins/koboldcpp&quot;>KoboldCpp</a>. For help, visit our <a class=&quot;color_blueurl&quot; target=&quot;_blank&quot; title=&quot;KoboldAI Discord&quot; href=&quot;https://koboldai.org/discord&quot;>Discord</a>.','Information',true)">
KoboldAI Lite</a> v${LITEVER} Web - Frontend for
<a href="#" class="color_grayurl mainnav" title="KoboldAI Lite Disclaimer"
onclick="msgbox('KoboldAI Lite allows you to connect to various third-party AI services. We do not control or assume responsibility for the models or content generated by these services. The user is responsible for ensuring that their usage of this software is legal in their country, and complies with the terms of service of the service they are connected to. Use at your own discretion. ','Disclaimer', true)">
@ -13362,7 +13362,7 @@ Current version indicated by LITEVER below.
if(uname.toLowerCase()=="anonymous#0")
{
document.getElementById("kudos_bal").innerHTML = uname + "<br>"+
"<a class='color_blueurl' href='https://aihorde.net/register'>(Register New User)</a>";
"<a class='color_blueurl' target='_blank' href='https://aihorde.net/register'>(Register New User)</a>";
}else{
document.getElementById("showownworkerslink").classList.remove("hidden");
}
@ -13372,12 +13372,12 @@ Current version indicated by LITEVER below.
}
}
else {
document.getElementById("kudos_bal").innerHTML = "API Key Error<br><a class='color_blueurl' href='https://aihorde.net/register'>(Register New User)</a>";
document.getElementById("kudos_bal").innerHTML = "API Key Error<br><a class='color_blueurl' target='_blank' href='https://aihorde.net/register'>(Register New User)</a>";
}
})
.catch((error) => {
console.log("Error: " + error);
document.getElementById("kudos_bal").innerHTML = "API Key Error<br><a class='color_blueurl' href='https://aihorde.net/register'>(Register New User)</a>";
document.getElementById("kudos_bal").innerHTML = "API Key Error<br><a class='color_blueurl' target='_blank' href='https://aihorde.net/register'>(Register New User)</a>";
});
}
}
@ -27385,7 +27385,7 @@ Current version indicated by LITEVER below.
</span>
<br><a href="#" id="showownworkerslink" class="color_blueurl hidden" onclick="show_my_own_workers()">[Manage My Workers]</a></span>
<span class="color_green" style="float:right; text-align: right;" id="kudos_bal">
Need a Key?<br><a class='color_blueurl' href='https://aihorde.net/register'>(Register New User)</a>
Need a Key?<br><a class='color_blueurl' target='_blank' href='https://aihorde.net/register'>(Register New User)</a>
</span>
</div>
<input class="form-control" type="password" placeholder="Enter API Key (or use 0000000000)" value=""
@ -27427,7 +27427,7 @@ Current version indicated by LITEVER below.
</div>
<div id="oaicustom" class="menutext hidden">
<span id="oaidesc">
Entering your <a class="color_blueurl" href="https://platform.openai.com/api-keys">OpenAI API key</a> will allow you to use KoboldAI Lite with their API.<br>
Entering your <a class="color_blueurl" target="_blank" href="https://platform.openai.com/api-keys">OpenAI API key</a> will allow you to use KoboldAI Lite with their API.<br>
<b>Or, set a custom API URL to use ANY 3rd-party OAI Compatible API</b><br><br>
KoboldAI Lite takes no responsibility for your usage of this feature. Your API key is used directly with the OpenAI API, <span class="color_red">unless CORS proxy is used</span>. Reconnecting resets all custom OpenAI URLs.<br>Only Temperature, Top-P and Repetition Penalty samplers are used.<br><br>
<span class="color_green" style="font-weight: bold;">Please input OpenAI API URL and Key.</span><br>
@ -27439,17 +27439,17 @@ Current version indicated by LITEVER below.
</div>
</span>
<span id="openrouterdesc" class="hidden">
Entering your <a class="color_blueurl" href="https://openrouter.ai/settings/keys">OpenRouter API key</a> will allow you to use KoboldAI Lite with their API.<br><br>
Entering your <a class="color_blueurl" target="_blank" href="https://openrouter.ai/settings/keys">OpenRouter API key</a> will allow you to use KoboldAI Lite with their API.<br><br>
KoboldAI Lite takes no responsibility for your usage of this feature. Your API key is used directly with the OpenRouter API and is not transmitted to us.<br>Only Temperature, Top-P and Repetition Penalty samplers are used.<br><br>
<span class="color_green" style="font-weight: bold;">Please input OpenRouter Key.</span><br><br>
</span>
<span id="mistralaidesc" class="hidden">
Entering your <a class="color_blueurl" href="https://docs.mistral.ai/getting-started/quickstart">MistralAI API key</a> will allow you to use KoboldAI Lite with their API.<br><br>
Entering your <a class="color_blueurl" target="_blank" href="https://docs.mistral.ai/getting-started/quickstart">MistralAI API key</a> will allow you to use KoboldAI Lite with their API.<br><br>
KoboldAI Lite takes no responsibility for your usage of this feature. Your API key is used directly with the MistralAI API and is not transmitted to us.<br>Only Temperature and Top-P samplers are used.<br><br>
<span class="color_green" style="font-weight: bold;">Please input MistralAI Key.</span><br><br>
</span>
<span id="featherlessdesc" class="hidden">
Entering your <a class="color_blueurl" href="https://featherless.ai/docs/getting-started">Featherless API key</a> will allow you to use KoboldAI Lite with their API.<br><br>
Entering your <a class="color_blueurl" target="_blank" href="https://featherless.ai/docs/getting-started">Featherless API key</a> will allow you to use KoboldAI Lite with their API.<br><br>
KoboldAI Lite takes no responsibility for your usage of this feature. Your API key is used directly with the Featherless API and is not transmitted to us.<br>Only Temperature, Top-P, Top-K, Min-P and Repetition Penalty samplers are used.<br><br>
<span class="color_green" style="font-weight: bold;">Please input Featherless Key.</span><br><br>
</span>
@ -27464,7 +27464,7 @@ Current version indicated by LITEVER below.
<span class="color_green" style="font-weight: bold;">No Key Required.</span><br><br>
</span>
<span id="nvidianimdesc" class="hidden">
Entering your <a class="color_blueurl" href="https://build.nvidia.com/explore/discover">Nvidia NIM API key</a> will allow you to use KoboldAI Lite with their API.<br><br>
Entering your <a class="color_blueurl" target="_blank" href="https://build.nvidia.com/explore/discover">Nvidia NIM API key</a> will allow you to use KoboldAI Lite with their API.<br><br>
KoboldAI Lite takes no responsibility for your usage of this feature. <span class="color_red">Due to CORS restrictions, your connection WILL be proxied.</span><br>Only Temperature, Top-P and Repetition Penalty samplers are used.<br><br>
<span class="color_green" style="font-weight: bold;">Please input Nvidia NIM Key.</span><br><br>
</span>
@ -27686,7 +27686,7 @@ Current version indicated by LITEVER below.
</div>
<div id="geminicustom" class="menutext hidden">
Entering your <a class="color_blueurl" href="https://docs.mistral.ai/getting-started/quickstart">Google Gemini API key</a> will allow you to use KoboldAI Lite with their API.<br><br>
Entering your <a class="color_blueurl" target="_blank" href="https://docs.mistral.ai/getting-started/quickstart">Google Gemini API key</a> will allow you to use KoboldAI Lite with their API.<br><br>
KoboldAI Lite takes no responsibility for your usage of this feature. Your API key is used directly with the Gemini API and is not transmitted to us.<br><br>
<div>
<select title="Gemini AI Model Selection" style="padding:4px; width:calc(100% - 110px); display:inline-block" class="form-control" id="custom_gemini_model" onchange="togglegeminimodel()">
@ -27740,7 +27740,7 @@ Current version indicated by LITEVER below.
</div>
</div>
<div id="coherecustom" class="menutext hidden">
Entering your <a class="color_blueurl" href="https://dashboard.cohere.com/api-keys">Cohere API key</a> will allow you to use KoboldAI Lite with their API.<br><br>
Entering your <a class="color_blueurl" target="_blank" href="https://dashboard.cohere.com/api-keys">Cohere API key</a> will allow you to use KoboldAI Lite with their API.<br><br>
KoboldAI Lite takes no responsibility for your usage of this feature. Your API key is used directly with the Cohere API and is not transmitted to us.<br><br>
<select title="Cohere AI Model Selection" style="padding:4px;" class="form-control" id="custom_cohere_model">
<option value="command-r-08-2024" selected="selected">command-r-08-2024</option>