can't add ollama model. #1752

Closed
opened 2026-02-21 17:37:26 -05:00 by yindo · 0 comments
Owner

Originally created by @taozhiyuai on GitHub (Apr 2, 2024).

Self Checks

  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • Pleas do not modify this template :) and fill in all the required fields.

Provide a description of the help you need

I have followed the instruction on https://docs.dify.ai/tutorials/model-configuration/ollama#if-you-are-using-docker-to-deploy-dify-and-ollama-you-may-encounter-the-following-error

截屏2024-04-02 23 48 30

I start ollama serve. open webui works fine.

ollama serve

OR

ollama run qwen:14b-chat-v1.5-fp16

both fail with errors info shown in the picture.

截屏2024-04-02 23 49 42

http://127.0.0.1:11434

OR

http://127.0.0.1:11434/v1

both fail! same error as shown in the picture.

anyone can help?

Originally created by @taozhiyuai on GitHub (Apr 2, 2024). ### Self Checks - [X] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [X] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [X] Pleas do not modify this template :) and fill in all the required fields. ### Provide a description of the help you need I have followed the instruction on https://docs.dify.ai/tutorials/model-configuration/ollama#if-you-are-using-docker-to-deploy-dify-and-ollama-you-may-encounter-the-following-error <img width="1484" alt="截屏2024-04-02 23 48 30" src="https://github.com/langgenius/dify/assets/146583103/a434ff8c-a6cf-4204-b249-8e1d416fa3cb"> I start ollama serve. open webui works fine. ollama serve OR ollama run qwen:14b-chat-v1.5-fp16 both fail with errors info shown in the picture. <img width="1675" alt="截屏2024-04-02 23 49 42" src="https://github.com/langgenius/dify/assets/146583103/4b03e08c-552d-43b7-891e-357159386842"> http://127.0.0.1:11434 OR http://127.0.0.1:11434/v1 both fail! same error as shown in the picture. anyone can help?
yindo added the 🐞 bug label 2026-02-21 17:37:26 -05:00
yindo closed this issue 2026-02-21 17:37:26 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#1752