obsidian-copilot icon indicating copy to clipboard operation
obsidian-copilot copied to clipboard

I am using the qwen2.5:7b local model through Ollama,Error: Model request failed: 404 page not found

Open tyf2018 opened this issue 1 year ago • 4 comments

  • [ ] Screenshot of note + Copilot chat pane + dev console added (required)

I am using the qwen2.5:7b local model through Ollama, which works fine in version 2.6.0 of the Copilot plugin. However, I have been encountering errors in the subsequent plugin versions. For example, in version 2.6.11, it reports an error: "Error: Model request failed: 404 page not found." image

Describe how to reproduce Start any conversation.

Expected behavior I hope to be able to use the qwen2.5:7b local model smoothly through Ollama in Copilot.

Screenshots image

tyf2018 avatar Oct 04 '24 01:10 tyf2018

I tried with 2.6.11 and it works for me.

SCR-20241003-slva
  1. What's your ollama list result?
  2. How did you add this custom model to the plugin, can you show me a screenshot

logancyang avatar Oct 04 '24 04:10 logancyang

  1. What's your ollama list result? image
  1. How did you add this custom model to the plugin, can you show me a screenshot? image

Best regards.

tyf2018 avatar Oct 05 '24 01:10 tyf2018

Hmm, this should work 🤔

Just to be sure, can you try without the Base URL? When you pick Ollama as provider you can omit it unless your ollama server is not at localhost.

logancyang avatar Oct 09 '24 00:10 logancyang

Not using the basic URL, it is running normally now, thanks.

tyf2018 avatar Oct 09 '24 01:10 tyf2018