mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: zhipu tti and image model set default model
--bug=1051236 --user=刘瑞斌 【模型管理】智谱AI添加自定义模型报错问题汇总 https://www.tapd.cn/57709429/s/1642279
(cherry picked from commit e175864699)
This commit is contained in:
parent
7eaac94649
commit
ea28f67696
|
|
@ -58,6 +58,7 @@ model_info_manage = (
|
|||
.append_model_info_list(model_info_list)
|
||||
.append_default_model_info(ModelInfo('glm-4', '', ModelTypeConst.LLM, qwen_model_credential, ZhipuChatModel))
|
||||
.append_model_info_list(model_info_image_list)
|
||||
.append_default_model_info(model_info_image_list[0])
|
||||
.append_model_info_list(model_info_tti_list)
|
||||
.append_default_model_info(model_info_tti_list[0])
|
||||
.build()
|
||||
|
|
|
|||
Loading…
Reference in New Issue