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

This reverts commit d791b54528.
This commit is contained in:
Cohee
2025-01-08 01:46:31 +02:00
parent 5b37d22e2d
commit 1557dec2bc

View File

@ -1623,11 +1623,9 @@ function saveModelList(data) {
})); }));
}); });
/*
if (!oai_settings.custom_model && model_list.length > 0) { if (!oai_settings.custom_model && model_list.length > 0) {
$('#model_custom_select').val(model_list[0].id).trigger('change'); $('#model_custom_select').val(model_list[0].id).trigger('change');
} }
*/
} }
if (oai_settings.chat_completion_source == chat_completion_sources.ZEROONEAI) { if (oai_settings.chat_completion_source == chat_completion_sources.ZEROONEAI) {