diff --git a/klite.embd b/klite.embd index b1c4b1c46..75b73215a 100644 --- a/klite.embd +++ b/klite.embd @@ -7,7 +7,7 @@ Just copy this single static HTML file anywhere and open it in a browser, or fro Please go to https://github.com/LostRuins/lite.koboldai.net for updates on Kobold Lite. If you are submitting a pull request for Lite, PLEASE use the above repo, not the KoboldCpp one. Kobold Lite is under the AGPL v3.0 License unless otherwise exempted. Please do not remove this line. -Current version: 133 +Current version: 134 -Concedo --> @@ -8689,6 +8689,10 @@ Current version: 133 document.getElementById('instruct_starttag').value = "<|END_OF_TURN_TOKEN|><|START_OF_TURN_TOKEN|><|USER_TOKEN|>"; document.getElementById('instruct_endtag').value = "<|END_OF_TURN_TOKEN|><|START_OF_TURN_TOKEN|><|CHATBOT_TOKEN|>"; break; + case "9": //llama 3 chat + document.getElementById('instruct_starttag').value = "<|eot_id|><|start_header_id|>user<|end_header_id|>"; + document.getElementById('instruct_endtag').value = "<|eot_id|><|start_header_id|>assistant<|end_header_id|>"; + break; default: break; } @@ -10737,6 +10741,11 @@ Current version: 133 cohere_payload.preamble = document.getElementById("cohere_preamble").value } + if (document.getElementById("usecohereweb").checked) { + cohere_payload.connectors = [{"id": "web-search"}]; + cohere_payload.max_tokens += 256; + } + last_request_str = JSON.stringify(cohere_payload); let cohere_headers = { 'Content-Type': 'application/json', @@ -13112,6 +13121,8 @@ Current version: 133 } } + document.getElementById("btnlogitbias").disabled = !is_using_custom_ep(); + } function toggle_wi_sk(idx) { @@ -14104,7 +14115,7 @@ Current version: 133
- + @@ -14151,7 +14162,7 @@ Current version: 133