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
{{ message }}
Repository navigation
Unable to use Ollama models - Adding chat/completions to URL #436
I have my Ollama endpoint on another machine and have a domain mapped to the endpoint. When I try to use it I get an error and logs seems to be saying it is not found. The model is installed, but it looks like Source is adding chat/completions to the URL. Is there any way to change this?
changed the title [-]Unable to use Ollama models - Affing chat/completions to URL[/-][+]Unable to use Ollama models - Adding chat/completions to URL[/+]on Nov 7, 2024
We're using the ai SDK for ollama so I'm surprised this is happening. Can you share more about the configuration in settings and the logs you're seeing?
I'm having the same problem and it seems that the error is trying to reach this endpoint http://127.0.0.1:11434/api/chat/completions instead of this http://127.0.0.1:11434/api/chat my configuration is next
But srcbook keep adding the completions word at the end of the url
Activity
[-]Unable to use Ollama models - Affing chat/completions to URL[/-][+]Unable to use Ollama models - Adding chat/completions to URL[/+]jaimedevelop commentedon Nov 29, 2024
It happens the same to me. Ollama runs but somehow srcbook cannot get the models. I have srcbook running through WSL on windows.
clickbrain commentedon Jan 2, 2025
Thought I would check in on this again to see if there is a workaround.
nichochar commentedon Jan 19, 2025
We're using the ai SDK for ollama so I'm surprised this is happening. Can you share more about the configuration in settings and the logs you're seeing?
abraganu-ryestrategy commentedon Feb 24, 2025
I'm having the same problem and it seems that the error is trying to reach this endpoint
http://127.0.0.1:11434/api/chat/completionsinstead of thishttp://127.0.0.1:11434/api/chatmy configuration is nextBut srcbook keep adding the
completionsword at the end of the urlThis is the error in the console