From 1557dec2bc0591a0c63c1b45576f911b8c1e9185 Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Wed, 8 Jan 2025 01:46:31 +0200 Subject: [PATCH] Revert "Don't auto-select custom model to the first model in the list" This reverts commit d791b54528318f71d7653c690a032ba47b863b6e. --- public/scripts/openai.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/public/scripts/openai.js b/public/scripts/openai.js index 088175d2e..54a53a181 100644 --- a/public/scripts/openai.js +++ b/public/scripts/openai.js @@ -1623,11 +1623,9 @@ 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) {