Skip to content

Commit 189e2a6

Browse files
committed
fix: When adding a large language model in Application-Settings-Add AI node, the Base Model is not listed
--bug=1054358 --user=王孝刚 【应用】应用-设置-添加AI 节点时添加大语言模型,没有列出Base Model https://www.tapd.cn/57709429/s/1681102
1 parent 867c539 commit 189e2a6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ui/src/views/template/component/CreateModelDialog.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,9 @@ const open = (provider: Provider, model_type?: string) => {
377377
dialogVisible.value = true
378378
base_form_data.value.model_type = model_type || ''
379379
activeName.value = 'base-info'
380+
if (model_type) {
381+
list_base_model(model_type)
382+
}
380383
}
381384
382385
const list_base_model = (model_type: any, change?: boolean) => {

0 commit comments

Comments
 (0)