Default ollama `Chat Api Path` points to the wrong URL path
brunoais opened this issue · comments
Describe the bug
Default Chat Api Path
when setting the Api Provider
to ollama
, sets Chat Api Path
to /v1/chat/completions
instead of the correct /api/chat
(source)
Note: This seems to be some sort of copy/paste error or selection error because /v1/chat/completions
is also the default for lmstudio
To Reproduce
Steps to reproduce the behavior:
- Go to twinny setting
twinny.apiProvider
- Click on it and change to
ollama
(if it's alreadyollama
, change to another and change back) - Problem: Setting
twinny.chatApiPath
becomes/v1/chat/completions
. Should have been/api/chat
.
Hey, this was updated as Ollama now support OpenAI specifictaion.
https://ollama.com/blog/openai-compatibility
Please update Ollama and try again.
Updating ollama fixed. ollama was outdated.