From 189e2a6c631dbbe3f1c9dbd53b18f391ccc7fe47 Mon Sep 17 00:00:00 2001 From: wxg0103 <727495428@qq.com> Date: Mon, 7 Apr 2025 11:16:25 +0800 Subject: [PATCH] fix: When adding a large language model in Application-Settings-Add AI node, the Base Model is not listed MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1054358 --user=王孝刚 【应用】应用-设置-添加AI 节点时添加大语言模型,没有列出Base Model https://www.tapd.cn/57709429/s/1681102 --- ui/src/views/template/component/CreateModelDialog.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ui/src/views/template/component/CreateModelDialog.vue b/ui/src/views/template/component/CreateModelDialog.vue index 004f92010..4dcc0f763 100644 --- a/ui/src/views/template/component/CreateModelDialog.vue +++ b/ui/src/views/template/component/CreateModelDialog.vue @@ -377,6 +377,9 @@ const open = (provider: Provider, model_type?: string) => { dialogVisible.value = true base_form_data.value.model_type = model_type || '' activeName.value = 'base-info' + if (model_type) { + list_base_model(model_type) + } } const list_base_model = (model_type: any, change?: boolean) => {