What happened?
I use qwen-code with openRouter. I connect some models(Qwen3-Coder-next, Glm-5-turbo and other). Whet i try to make some actions qwen-code can tell me error "API Error: Model stream ended with empty response text" or tell that he did all(create file, for example) but this is not the case.
What did you expect to happen?
I expet that qwen-code complete my request
Client information
Client Information
Run qwen to enter the interactive CLI, then run the /about command.
$ qwen /about
│ Status
│
│ Qwen Code 0.12.6 (ac30c98a2)
│ Runtime Node.js v22.13.1 / npm 10.9.2
│ OS linux x64 (6.17.0-8-generic)
│
│ Auth API Key - openai
│ Base URL https://openrouter.ai/api/v1
│ Model z-ai/glm-5-turbo
│ Session ID 6ee1059d-ae95-477d-ace8-4754aaefa5ca
│ Sandbox no sandbox
│ Proxy no proxy
│ Memory Usage 264.8 MB
Login information
{
"modelProviders": {
"openai": [
{
"id": "qwen/qwen3.5-plus-02-15",
"name": "qwen/qwen3.5-plus-02-15",
"baseUrl": "https://openrouter.ai/api/v1",
"description": "Qwen3-Plus throw OpnRouter.ai",
"envKey": "DASHSCOPE_API_KEY",
"generationConfig": {
"maxRetries": 3,
"enableCacheControl": true,
"modalities": {
"image": true
},
"extra_body": {
"enable_thinking": true,
"service_tier": "priority"
}
}
},
{
"id": "qwen/qwen3-coder-next",
"name": "qwen/qwen3-coder-next",
"baseUrl": "https://openrouter.ai/api/v1",
"description": "Qwen3-coder-next throw OpnRouter.ai",
"envKey": "DASHSCOPE_API_KEY"
},
{
"id": "qwen/qwen3-235b-a22b-2507",
"name": "qwen/qwen3-235b-a22b-2507",
"baseUrl": "https://openrouter.ai/api/v1",
"description": "Qwen3-235B throw OpnRouter.ai",
"envKey": "DASHSCOPE_API_KEY"
},
{
"id": "deepseek/deepseek-r1-0528",
"name": "deepseek/deepseek-r1-0528",
"baseUrl": "https://openrouter.ai/api/v1",
"description": "DeepSeek-R1 throw OpnRouter.ai",
"envKey": "DASHSCOPE_API_KEY"
},
{
"id": "minimax/minimax-m2.7",
"name": "minimax/minimax-m2.7",
"baseUrl": "https://openrouter.ai/api/v1",
"description": "MiniMax-2.7 throw OpnRouter.ai",
"envKey": "DASHSCOPE_API_KEY",
"generationConfig": {
"maxRetries": 3,
"enableCacheControl": true,
"modalities": {
"image": true
},
"extra_body": {
"enable_thinking": true,
"service_tier": "priority"
}
}
},
{
"id": "z-ai/glm-5-turbo",
"name": "z-ai/glm-5-turbo",
"baseUrl": "https://openrouter.ai/api/v1",
"description": "Glm-5-turbo throw OpnRouter.ai",
"envKey": "DASHSCOPE_API_KEY",
"generationConfig": {
"maxRetries": 3,
"enableCacheControl": true,
"modalities": {
"image": true
},
"extra_body": {
"enable_thinking": true,
"service_tier": "priority"
}
}
}
]
},
"env": {
"DASHSCOPE_API_KEY": "..."
},
"security": {
"auth": {
"selectedType": "openai"
}
},
"model": {
"name": "z-ai/glm-5-turbo"
},
"$version": 3
}
Anything else we need to know?
No response
What happened?
I use qwen-code with openRouter. I connect some models(Qwen3-Coder-next, Glm-5-turbo and other). Whet i try to make some actions qwen-code can tell me error "API Error: Model stream ended with empty response text" or tell that he did all(create file, for example) but this is not the case.
What did you expect to happen?
I expet that qwen-code complete my request
Client information
Client Information
Run
qwento enter the interactive CLI, then run the/aboutcommand.Login information
{
"modelProviders": {
"openai": [
{
"id": "qwen/qwen3.5-plus-02-15",
"name": "qwen/qwen3.5-plus-02-15",
"baseUrl": "https://openrouter.ai/api/v1",
"description": "Qwen3-Plus throw OpnRouter.ai",
"envKey": "DASHSCOPE_API_KEY",
"generationConfig": {
"maxRetries": 3,
"enableCacheControl": true,
"modalities": {
"image": true
},
"extra_body": {
"enable_thinking": true,
"service_tier": "priority"
}
}
},
{
"id": "qwen/qwen3-coder-next",
"name": "qwen/qwen3-coder-next",
"baseUrl": "https://openrouter.ai/api/v1",
"description": "Qwen3-coder-next throw OpnRouter.ai",
"envKey": "DASHSCOPE_API_KEY"
},
{
"id": "qwen/qwen3-235b-a22b-2507",
"name": "qwen/qwen3-235b-a22b-2507",
"baseUrl": "https://openrouter.ai/api/v1",
"description": "Qwen3-235B throw OpnRouter.ai",
"envKey": "DASHSCOPE_API_KEY"
},
{
"id": "deepseek/deepseek-r1-0528",
"name": "deepseek/deepseek-r1-0528",
"baseUrl": "https://openrouter.ai/api/v1",
"description": "DeepSeek-R1 throw OpnRouter.ai",
"envKey": "DASHSCOPE_API_KEY"
},
{
"id": "minimax/minimax-m2.7",
"name": "minimax/minimax-m2.7",
"baseUrl": "https://openrouter.ai/api/v1",
"description": "MiniMax-2.7 throw OpnRouter.ai",
"envKey": "DASHSCOPE_API_KEY",
"generationConfig": {
"maxRetries": 3,
"enableCacheControl": true,
"modalities": {
"image": true
},
"extra_body": {
"enable_thinking": true,
"service_tier": "priority"
}
}
},
{
"id": "z-ai/glm-5-turbo",
"name": "z-ai/glm-5-turbo",
"baseUrl": "https://openrouter.ai/api/v1",
"description": "Glm-5-turbo throw OpnRouter.ai",
"envKey": "DASHSCOPE_API_KEY",
"generationConfig": {
"maxRetries": 3,
"enableCacheControl": true,
"modalities": {
"image": true
},
"extra_body": {
"enable_thinking": true,
"service_tier": "priority"
}
}
}
]
},
"env": {
"DASHSCOPE_API_KEY": "..."
},
"security": {
"auth": {
"selectedType": "openai"
}
},
"model": {
"name": "z-ai/glm-5-turbo"
},
"$version": 3
}
Anything else we need to know?
No response