What happened?
Installed Qwen Code v0.16.2 and I'm connecting with a local Qwen model running using ollama. When I issue any prompt, I get the error:
[API Error: Value of "this" must be of DOMException]
What did you expect to happen?
I'd expect a model response
Client information
Client Information
Status │
│ │
│ Qwen Code 0.16.2 (7aba696) │
│ Runtime Node.js v24.15.0 / npm 11.12.1 │
│ LSP disabled │
│ OS linux x64 (6.17.0-29-generic) │
│ │
│ Auth API Key - openai │
│ Base URL http://localhost:11434/v1 │
│ Model qwen2.5-coder:7b │
│ Fast Model qwen2.5-coder:7b │
│ Session ID 258fb79d-a3b9-4f67-8719-6e87706bac63 │
│ Sandbox no sandbox │
│ Proxy http://xx.xxxx.xxxx.xx:3128/ │
│ Memory Usage 218.3 MB
Login information
This is my settings.json
{
"env": {
"QWEN_CUSTOM_API_KEY_OPENAI_HTTP_LOCALHOST_11434_V1_76873BDAA9B6": "ollama"
},
"modelProviders": {
"openai": [
{
"id": "qwen2.5-coder:7b",
"name": "qwen2.5-coder:7b",
"baseUrl": "http://localhost:11434/v1",
"envKey": "QWEN_CUSTOM_API_KEY_OPENAI_HTTP_LOCALHOST_11434_V1_76873BDAA9B6",
"generationConfig": {
"extra_body": {
"enable_thinking": true
}
}
}
]
},
"$version": 4,
"security": {
"auth": {
"selectedType": "openai"
}
},
"model": {
"name": "qwen2.5-coder:7b"
}
}
Anything else we need to know?
No response
What happened?
Installed Qwen Code v0.16.2 and I'm connecting with a local Qwen model running using ollama. When I issue any prompt, I get the error:
[API Error: Value of "this" must be of DOMException]What did you expect to happen?
I'd expect a model response
Client information
Client Information
Status │
│ │
│ Qwen Code 0.16.2 (7aba696) │
│ Runtime Node.js v24.15.0 / npm 11.12.1 │
│ LSP disabled │
│ OS linux x64 (6.17.0-29-generic) │
│ │
│ Auth API Key - openai │
│ Base URL http://localhost:11434/v1 │
│ Model qwen2.5-coder:7b │
│ Fast Model qwen2.5-coder:7b │
│ Session ID 258fb79d-a3b9-4f67-8719-6e87706bac63 │
│ Sandbox no sandbox │
│ Proxy http://xx.xxxx.xxxx.xx:3128/ │
│ Memory Usage 218.3 MB
Login information
This is my settings.json
{ "env": { "QWEN_CUSTOM_API_KEY_OPENAI_HTTP_LOCALHOST_11434_V1_76873BDAA9B6": "ollama" }, "modelProviders": { "openai": [ { "id": "qwen2.5-coder:7b", "name": "qwen2.5-coder:7b", "baseUrl": "http://localhost:11434/v1", "envKey": "QWEN_CUSTOM_API_KEY_OPENAI_HTTP_LOCALHOST_11434_V1_76873BDAA9B6", "generationConfig": { "extra_body": { "enable_thinking": true } } } ] }, "$version": 4, "security": { "auth": { "selectedType": "openai" } }, "model": { "name": "qwen2.5-coder:7b" } }Anything else we need to know?
No response