Does this issue occur when all extensions are disabled?: Yes (even if GitHub Copilot Chat is the only extension enabled)
I have ollama setup to use models locally, but vscode (snap), vscode-insiders (snap and apt variants) are unable to detect any models when ollama cloud models are installed. The continue.dev extension however works fine and is able to list ollama models with the autodetect defaults. I even tried disabling all extensions except for copilot chat. But I see the same issue. Also, the copilot extension is able to detect all cloud models I have access to on my github account.
- GitHub Copilot Chat Extension: 0.34.2025112701 (prod)
- VS Code: 1.107.0-insider (c9b7a5a)
- OS: linux 6.14.0-1016-oem x64
- Ollama version: 0.12.10
User Settings:
"http.systemCertificatesNode": false,
"github.copilot.advanced.debug.useElectronFetcher": true,
"github.copilot.advanced.debug.useNodeFetcher": false,
"github.copilot.advanced.debug.useNodeFetchFetcher": true
2025-11-27 12:15:46.801 [error] Error: Failed to fetch models from Ollama. Please ensure Ollama is running. If ollama is on another host, please configure the `"github.copilot.chat.byok.ollamaEndpoint"` setting.
at IS.getAllModels (/home/user/.vscode-insiders/extensions/github.copilot-chat-0.34.2025112701/dist/extension.js:1220:11553)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async IS.provideLanguageModelChatInformation (/home/user/.vscode-insiders/extensions/github.copilot-chat-0.34.2025112701/dist/extension.js:1220:8846)
at async wA.$provideLanguageModelChatInfo (file:///usr/share/code-insiders/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:118:30901): Error fetching available Ollama models
2025-11-27 12:15:46.812 [error] Error: Failed to fetch models from Ollama. Please ensure Ollama is running. If ollama is on another host, please configure the `"github.copilot.chat.byok.ollamaEndpoint"` setting.
at IS.getAllModels (/home/user/.vscode-insiders/extensions/github.copilot-chat-0.34.2025112701/dist/extension.js:1220:11553)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async IS.provideLanguageModelChatInformation (/home/user/.vscode-insiders/extensions/github.copilot-chat-0.34.2025112701/dist/extension.js:1220:8846)
at async wA.$provideLanguageModelChatInfo (file:///usr/share/code-insiders/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:118:30901): Error fetching available Ollama models
2025-11-27 12:15:56.883 [debug] [context keys] Window state change. Needs offline check: false, active: true, focused: false.
2025-11-27 12:16:19.001 [debug] [context keys] Window state change. Needs offline check: false, active: true, focused: true.
Ollama endpoint settings are defaulted - "github.copilot.chat.byok.ollamaEndpoint": http://localhost:11434
user@host:~/$ curl http://localhost:11434
Ollama is running
user@host:~/$ ollama ls
gpt-oss:20b 17052f91a42e 13 GB 3 days ago
MFDoom/deepseek-r1-tool-calling:70b e0c424928d2a 42 GB 3 days ago
glm4:9b 5b699761eca5 5.5 GB 3 days ago
gemini-3-pro-preview:latest 91a1db042ba1 - 3 days ago
nate/instinct:latest aee59dcab680 4.7 GB 2 weeks ago
nomic-embed-text:latest 0a109f422b47 274 MB 2 weeks ago
qwen2.5-coder:7b dae161e27b0e 4.7 GB 2 weeks ago
gpt-oss:120b a951a23b46a1 65 GB 2 weeks ago
deepseek-r1:70b d37b54d01a76 42 GB 2 weeks ago
qwen3-coder:30b 06c1097efce0 18 GB 2 weeks ago
...
Using Network Proxy Test shows that it should have worked fine
Proxy:
- URL: None (0 ms)
Sending GET request to http://localhost:11434...
Received response:
- Status: 200 OK
Sending GET request to http://localhost:11434 using fetch from Electron...
Received response:
- Status: 200 OK
Sending GET request to http://localhost:11434 using fetch from Node.js...
Received response:
- Status: 200 OK
Sending GET request to http://localhost:11434 using fetch from Node.js (allow HTTP2)...
Received response:
- Status: 200 OK
Possible duplicates: #279407 (but that one shows a different error log and is on a different os)
Steps to Reproduce:
- Pull any Ollama cloud model (Eg:
gemini-3-pro-preview:latest)
- Open VSCode/Insiders -> Go to Chat -> Manage Models
- Add Models -> Select Ollama. See that no ollama models show up.
Update: When cloud models like gemini-3-pro-preview:latest were removed from ollama, Github Copilot Chat started listing all the models.
Does this issue occur when all extensions are disabled?: Yes (even if GitHub Copilot Chat is the only extension enabled)
I have ollama setup to use models locally, but vscode (snap), vscode-insiders (snap and apt variants) are unable to detect any models when ollama cloud models are installed. The continue.dev extension however works fine and is able to list ollama models with the autodetect defaults. I even tried disabling all extensions except for copilot chat. But I see the same issue. Also, the copilot extension is able to detect all cloud models I have access to on my github account.
User Settings:
Ollama endpoint settings are defaulted -
"github.copilot.chat.byok.ollamaEndpoint": http://localhost:11434Using Network Proxy Test shows that it should have worked fine
Possible duplicates: #279407 (but that one shows a different error log and is on a different os)
Steps to Reproduce:
gemini-3-pro-preview:latest)Update: When cloud models like
gemini-3-pro-preview:latestwere removed from ollama, Github Copilot Chat started listing all the models.