You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Qwen/Qwen3.5-397B-A17B: system message must be at the beginning #20785
I use superpower plugin and use opencode to link the Qwen/Qwen3.5-397B-A17B api.
Ask one question: "who are you"
Then an error happeded: "system message must be at the beginning"
Plugins
superpowers
OpenCode version
1.3.13
Steps to reproduce
use opencode to link the Qwen/Qwen3.5-397B-A17B api.
Multiple system prompts break Qwen3.5-* models #15059: "Multiple system prompts break Qwen3.5-* models" — the superpowers plugin likely adds an extra system prompt, which triggers this exact error in Qwen models that require system messages to appear only at the start of the conversation
I am reporting a recurring issue where any Q&A attempt triggers the error:
"System message must be at the beginning."
This is happening in my current deployment using OpenCode v1.3.13 with the Qwen3.5-122B-A10B-FP8 model served via vLLM v0.19.0.
Updating the superpower plugin to the latest version should resolve the "System message must be at the beginning" error and get everything back to normal.
same underlying bug as #15059. also fires with no plugins installed — opencode's title-generator path emits two role: "system" entries on its own (title-generator prompt + inherited delegation block) on the first call of any session against a Qwen 3.5+ deployment.
confirmed against Qwen/Qwen3.6-27B and Qwen/Qwen3.6-35B-A3B on vLLM v0.21.0 with opencode v1.14.39, vanilla install. the superpowers/opencode-dcp/llama-server reports are the same path made more visible by extra system fragments, not a separate bug.
diagnosis, fix snippet, and currently-open PR (#16981) tracked in #15059.
Activity
github-actions commentedon Apr 3, 2026
This issue might be a duplicate of existing issues. Please check:
alienwaredream commentedon Apr 4, 2026
I am reporting a recurring issue where any Q&A attempt triggers the error:
"System message must be at the beginning."
This is happening in my current deployment using OpenCode v1.3.13 with the Qwen3.5-122B-A10B-FP8 model served via vLLM v0.19.0.
alienwaredream commentedon Apr 6, 2026
Updating the superpower plugin to the latest version should resolve the "System message must be at the beginning" error and get everything back to normal.
sgmihai commentedon Apr 16, 2026
Also seeing this with qwen3.6-35b via vllm, in opencode 1.4.6 with omo slim plugin.
robertoberto commentedon May 23, 2026
same underlying bug as #15059. also fires with no plugins installed — opencode's title-generator path emits two role: "system" entries on its own (title-generator prompt + inherited delegation block) on the first call of any session against a Qwen 3.5+ deployment.
confirmed against Qwen/Qwen3.6-27B and Qwen/Qwen3.6-35B-A3B on vLLM v0.21.0 with opencode v1.14.39, vanilla install. the superpowers/opencode-dcp/llama-server reports are the same path made more visible by extra system fragments, not a separate bug.
diagnosis, fix snippet, and currently-open PR (#16981) tracked in #15059.
github-actions commentedon Jul 23, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.