mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: 修复智普供应商添加添加列表以外模型报错
This commit is contained in:
parent
cfb6307293
commit
37612cb88e
|
|
@ -21,7 +21,7 @@ model_info_list = [
|
|||
ModelInfo('glm-4v', '', ModelTypeConst.LLM, qwen_model_credential, ZhipuChatModel),
|
||||
ModelInfo('glm-3-turbo', '', ModelTypeConst.LLM, qwen_model_credential, ZhipuChatModel)
|
||||
]
|
||||
model_info_manage = ModelInfoManage.builder().append_model_info_list(model_info_list).append_model_info(
|
||||
model_info_manage = ModelInfoManage.builder().append_model_info_list(model_info_list).append_default_model_info(
|
||||
ModelInfo('glm-4', '', ModelTypeConst.LLM, qwen_model_credential, ZhipuChatModel)).build()
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue