fix: model_type change reset model_param_form
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run

This commit is contained in:
CaptainB 2024-12-26 16:33:26 +08:00
parent 7df98e2865
commit d42442052b

View File

@ -331,6 +331,7 @@ const open = (provider: Provider) => {
const list_base_model = (model_type: any, change?: boolean) => {
if (change) {
base_form_data.value.model_name = ''
base_form_data.value.model_params_form = []
}
if (providerValue.value) {
ModelApi.listBaseModel(providerValue.value.provider, model_type, base_model_loading).then(