Before submitting your bug report
Relevant environment info
- OS: ubuntu 22.04
- Continue version: latest
- IDE version: 1.98.2
- Model: any
- config:
{
"embeddingsProvider": {
"provider": "ollama",
"model": "nomic-embed-text",
"apiBase": "http://127.0.0.1:11434/"
},
"models": [
{
"title": "Qwen 2.5 Coder 32b",
"model": "qwen2.5-coder:32b",
"apiBase": "http://127.0.0.1:11434/",
"provider": "ollama"
}
],
...
Description
The extension can find the models with no problem:
However, as soon as I pick any of them, and start chatting, I get this warning:
And if I press "start ollama", I see that it tries to run open -a Ollama.app.
Now, the setting is the following:
- I'm running VScode from a Mac
- I'm connecting to a remote host via SSH
- Ollama is installed in the remote host (so say, if I open a terminal from that window,
ollama list works fine)
To reproduce
not sure(?)
Log output
[Extension Host] Error: Unable to connect to local Ollama instance. Ollama may not be running.
at customFetch2 (/Users/albertosinigaglia/.vscode/extensions/continue.continue-1.0.4-darwin-arm64/out/extension.js:122240:23)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at withExponentialBackoff (/Users/albertosinigaglia/.vscode/extensions/continue.continue-1.0.4-darwin-arm64/out/extension.js:118027:27)
at Ollama2._streamChat (/Users/albertosinigaglia/.vscode/extensions/continue.continue-1.0.4-darwin-arm64/out/extension.js:130989:26)
at Ollama2.streamChat (/Users/albertosinigaglia/.vscode/extensions/continue.continue-1.0.4-darwin-arm64/out/extension.js:122528:32)
at llmStreamChat (/Users/albertosinigaglia/.vscode/extensions/continue.continue-1.0.4-darwin-arm64/out/extension.js:607168:23)
at Th.handleMessage [as value] (/Users/albertosinigaglia/.vscode/extensions/continue.continue-1.0.4-darwin-arm64/out/extension.js:619543:29)
-----
Unable to connect to local Ollama instance. Ollama may not be running.
Before submitting your bug report
Relevant environment info
Description
The extension can find the models with no problem:
However, as soon as I pick any of them, and start chatting, I get this warning:
And if I press "start ollama", I see that it tries to run
open -a Ollama.app.Now, the setting is the following:
ollama listworks fine)To reproduce
not sure(?)
Log output