fix: Unable to enter custom model name
--bug=1051178 --user=刘瑞斌 【模型】添加Ollama的图片理解模型,自定义输入基础模型报错 https://www.tapd.cn/57709429/s/1641511
This commit is contained in:
parent
d1b1aaa5e0
commit
301c60ee92
@ -171,6 +171,7 @@ model_info_manage = (
|
|||||||
'一个具有大令牌上下文窗口的高性能开放嵌入模型。',
|
'一个具有大令牌上下文窗口的高性能开放嵌入模型。',
|
||||||
ModelTypeConst.EMBEDDING, ollama_embedding_model_credential, OllamaEmbedding), )
|
ModelTypeConst.EMBEDDING, ollama_embedding_model_credential, OllamaEmbedding), )
|
||||||
.append_model_info_list(image_model_info)
|
.append_model_info_list(image_model_info)
|
||||||
|
.append_default_model_info(image_model_info[0])
|
||||||
.build()
|
.build()
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user