dspy: Error: CODE 404 - {"error":"model not found, try pulling it first"} After model is running

I have already started the ollama server and the mistral model, as evidenced by the logs. If I just run a command directed at mistral or attempt to curl, everything works great, but DSPy can’t find mistral for some reason, even though it’s connecting to the right port. Then on top of that, there’s a .join problem with the actual content despite everything being strings. Something very strange is happening.

$ps aux | grep ollama | grep -v grep gives 7 root 0:07 {ollama} /run/rosetta/rosetta /usr/bin/ollama ollama serve 8 root 0:00 {ollama} /run/rosetta/rosetta /usr/bin/ollama ollama run mistral But when I try to invoke the DSPy program, with just a string input I get: Error: CODE 404 - {"error":"model \"mistral\" not found, try pulling it first"} and TypeError: can only join an iterable

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 17

Most upvoted comments

I think we have solved the dspy part of this issue, and have moved on to the ollama side, I will submit an issue on their github. Thank you for your help!