From d791b54528318f71d7653c690a032ba47b863b6e Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Tue, 7 Jan 2025 20:39:35 +0200 Subject: [PATCH] Don't auto-select custom model to the first model in the list --- public/scripts/openai.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/public/scripts/openai.js b/public/scripts/openai.js index 54a53a181..088175d2e 100644 --- a/public/scripts/openai.js +++ b/public/scripts/openai.js @@ -1623,9 +1623,11 @@ function saveModelList(data) { })); }); + /* if (!oai_settings.custom_model && model_list.length > 0) { $('#model_custom_select').val(model_list[0].id).trigger('change'); } + */ } if (oai_settings.chat_completion_source == chat_completion_sources.ZEROONEAI) {