update lite

This commit is contained in:
Concedo 2024-01-30 19:12:30 +08:00
parent f73de33f74
commit e989675b0d

View file

@ -6222,7 +6222,7 @@ Current version: 108
function select_custom_oai_model()
{
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 dropdown = (isOpenrouter?document.getElementById("custom_openrouter_model"):document.getElementById("custom_oai_model"));
let mdlopt = (isOpenrouter?"custom_openrouter_model_option":"custom_oai_model_option");