fix: Unable to enter custom model name

--bug=1051178 --user=刘瑞斌 【模型】添加Ollama的图片理解模型,自定义输入基础模型报错 https://www.tapd.cn/57709429/s/1641511

(cherry picked from commit 301c60ee92)
This commit is contained in:
CaptainB 2025-01-03 18:42:45 +08:00 committed by shaohuzhang1
parent 96763fe140
commit e254951ea8

View File

@ -171,6 +171,7 @@ model_info_manage = (
'一个具有大令牌上下文窗口的高性能开放嵌入模型。',
ModelTypeConst.EMBEDDING, ollama_embedding_model_credential, OllamaEmbedding), )
.append_model_info_list(image_model_info)
.append_default_model_info(image_model_info[0])
.build()
)