Skip to content

Commit 908c907

Browse files
committed
fix: qwen tti and image model set default model
--bug=1051228 --user=刘瑞斌 【模型管理】通义千问添加自定义模型报错问题汇总 https://www.tapd.cn/57709429/s/1642313
1 parent 381ae71 commit 908c907

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

apps/setting/models_provider/impl/qwen_model_provider/qwen_model_provider.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@
4646
.append_default_model_info(
4747
ModelInfo('qwen-turbo', '', ModelTypeConst.LLM, qwen_model_credential, QwenChatModel))
4848
.append_model_info_list(module_info_vl_list)
49+
.append_default_model_info(module_info_vl_list[0])
4950
.append_model_info_list(module_info_tti_list)
51+
.append_default_model_info(module_info_tti_list[0])
5052
.build()
5153
)
5254

0 commit comments

Comments
 (0)