Don't auto-select custom model to the first model in the list

d791b54528318f71d7653c690a032ba47b863b6e

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +2 -0Showing whitespace changes
public/scripts/openai.js+2 -0
@@ -1623,9 +1623,11 @@ function saveModelList(data) {
1623 }));1623 }));
1624 });1624 });
16251625
1626 /*
1626 if (!oai_settings.custom_model && model_list.length > 0) {1627 if (!oai_settings.custom_model && model_list.length > 0) {
1627 $('#model_custom_select').val(model_list[0].id).trigger('change');1628 $('#model_custom_select').val(model_list[0].id).trigger('change');
1628 }1629 }
1630 */
1629 }1631 }
16301632
1631 if (oai_settings.chat_completion_source == chat_completion_sources.ZEROONEAI) {1633 if (oai_settings.chat_completion_source == chat_completion_sources.ZEROONEAI) {