mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2025-09-15 11:29:43 +00:00
update lite
This commit is contained in:
parent
f73de33f74
commit
e989675b0d
1 changed files with 1 additions and 1 deletions
|
@ -6222,7 +6222,7 @@ Current version: 108
|
||||||
function select_custom_oai_model()
|
function select_custom_oai_model()
|
||||||
{
|
{
|
||||||
let isOpenrouter = (document.getElementById("customapidropdown").value==5);
|
let isOpenrouter = (document.getElementById("customapidropdown").value==5);
|
||||||
inputBox("Enter custom "+(isOpenrouter?"OpenAI":"OpenRouter")+" model name","Custom Model Name",localsettings.saved_oai_custommodel,"", ()=>{
|
inputBox("Enter custom model name","Custom Model Name",localsettings.saved_oai_custommodel,"", ()=>{
|
||||||
let coai = getInputBoxValue().trim();
|
let coai = getInputBoxValue().trim();
|
||||||
let dropdown = (isOpenrouter?document.getElementById("custom_openrouter_model"):document.getElementById("custom_oai_model"));
|
let dropdown = (isOpenrouter?document.getElementById("custom_openrouter_model"):document.getElementById("custom_oai_model"));
|
||||||
let mdlopt = (isOpenrouter?"custom_openrouter_model_option":"custom_oai_model_option");
|
let mdlopt = (isOpenrouter?"custom_openrouter_model_option":"custom_oai_model_option");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue