Skip to content

Commit

Permalink
up ver, make token streaming red if not applicable
Browse files Browse the repository at this point in the history
  • Loading branch information
Concedo authored and Concedo committed Sep 15, 2023
1 parent a24eb4f commit 93e789c
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Just copy this single static HTML file anywhere and open it in a browser, or from a webserver.
Please go to https://github.com/LostRuins/lite.koboldai.net for updates on Kobold Lite.
Kobold Lite is under the AGPL v3.0 License for the purposes of koboldcpp. Please do not remove this line.
Current version: 62
Current version: 63
-Concedo
-->

Expand Down Expand Up @@ -5539,6 +5539,14 @@
document.getElementById("mirosupporteddiv").classList.add("hidden");
document.getElementById("mirounsupporteddiv").classList.remove("hidden");
}
if(custom_kobold_endpoint!="")
{
document.getElementById("tokenstreaminglabel").classList.remove("color_red");
}
else
{
document.getElementById("tokenstreaminglabel").classList.add("color_red");
}
document.getElementById("generate_images").value = localsettings.generate_images;
document.getElementById("enhanced_chat_ui").checked = localsettings.enhanced_chat_ui;
document.getElementById("enhanced_instruct_ui").checked = localsettings.enhanced_instruct_ui;
Expand Down Expand Up @@ -9689,7 +9697,7 @@

<div class="settingitem">
<div class="settinglabel">
<div class="justifyleft settingsmall" title="Attempts to use token streaming if available.">Token Streaming </div>
<div class="justifyleft settingsmall" id="tokenstreaminglabel" title="Attempts to use token streaming if available.">Token Streaming </div>
<input type="checkbox" id="tokenstreaming" style="margin:0px 0 0;">
</div>

Expand Down

0 comments on commit 93e789c

Please sign in to comment.