Skip to content

Commit cec0210

Browse files
committed
fix: Unable to enter custom model name
--bug=1051178 --user=刘瑞斌 【模型】添加Ollama的图片理解模型,自定义输入基础模型报错 https://www.tapd.cn/57709429/s/1641511
1 parent d1b1aaa commit cec0210

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

apps/setting/models_provider/impl/ollama_model_provider/ollama_model_provider.py

+1
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@
171171
'一个具有大令牌上下文窗口的高性能开放嵌入模型。',
172172
ModelTypeConst.EMBEDDING, ollama_embedding_model_credential, OllamaEmbedding), )
173173
.append_model_info_list(image_model_info)
174+
.append_default_model_info(image_model_info[0])
174175
.build()
175176
)
176177

0 commit comments

Comments
 (0)