You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ERROR There was a problem with the ollama API request.
error, status code: 404, message: json: cannot unmarshal number into Go value of type openai.ErrorResponse
Same here, I rolled back to v1.3.1 and it is working again.
I uninstalled the current 1.6.0 and tested all versions until I hit the first that worked again.
To install that version using go use go install github.com/charmbracelet/[email protected]
Describe the bug
I'm getting ' ERROR There was a problem with the ollama API request.' when trying to use mods with Ollama
This used to work with no issues till recently, I don't know if there was an update on mods or Ollama that broke something.
Setup
Please complete the following information along with version numbers, if applicable.
Steps to reproduce the behavior:
brew install mods ollama
mods -f "Hello, world" --api ollama --model llama3:latest
ERROR There was a problem with the ollama API request. error, status code: 404, message: json: cannot unmarshal number into Go value of type openai.ErrorResponse
I can confirm my Ollama setup is wroking:
see my mods.yml config file at the end of this post.
Expected behavior
Additional context
mods.yml
The text was updated successfully, but these errors were encountered: