-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] qwen2.5-7b-instruct model does not exist in Ollama #1902
Comments
感谢反馈,模型名称需要与ollama list 列出的模型名称保持一致才可以添加成功,如:qwen2.5:7b-instruct |
Thanks for the feedback. The model name needs to be consistent with the model name listed in ollama list before it can be added successfully, such as: qwen2.5:7b-instruct |
The mode name is hardcoded as select items, I also update the custom mode name as MaxKB/apps/setting/models_provider/impl/ollama_model_provider/ollama_model_provider.py Lines 104 to 131 in ae7c446
|
如果基础模型下拉列表中的模型名称与你的ollama list 列出的名称不一致,你可以在基础模型中自定义输入ollama list 列出的模型名称,然后回车即可以 添加成功。 |
If the model name in the basic drop-down list is inconsistent with the name listed in your ollama list, you can customize the model name listed in the ollama list in the basic model and press Enter to add it successfully. |
Contact Information
thiscloud123
MaxKB Version
v1.8.1 (build at 2024-12-12T09:57, commit: 16ecccb)
Problem Description
I want to add qwen2.5 modes, but it failed with
qwen2.5-7b-instruct 模型在Ollama不存在
Steps to Reproduce
The expected correct result
The modes add successfully .
Related log output
docker compose logs -f
doesn't show any logs related to this operation.Here is the ollama modes list:
Additional Information
Maybe the name is incorrect, change
qwen2.5-7b-instruct
toqwen2.5:7b-instruct
orqwen2.5:7b
?The text was updated successfully, but these errors were encountered: