Skip to content

Qwen/Qwen3.5-397B-A17B: system message must be at the beginning #20785

Closed as not planned
HuChundong/aeon-memory
#11

Description

@majestichou

Description

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

  1. use opencode to link the Qwen/Qwen3.5-397B-A17B api.
  2. install superpowers plugin https://github.com/obra/superpowers
  3. ask one question

Screenshot and/or share link

Ask one question: "who are you"
Then an error happeded: "system message must be at the beginning"

Operating System

ubuntu 24.04

Terminal

Tabby Terminal, MobaXterm

Activity

  1. added
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on Apr 3, 2026
  2. github-actions commented on Apr 3, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

  3. alienwaredream commented on Apr 4, 2026

    @alienwaredream

    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.

  4. alienwaredream commented on Apr 6, 2026

    @alienwaredream

    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.

  5. sgmihai commented on Apr 16, 2026

    @sgmihai

    Also seeing this with qwen3.6-35b via vllm, in opencode 1.4.6 with omo slim plugin.

  6. removed
    bugSomething isn't working
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on May 3, 2026
  7. robertoberto commented on May 23, 2026

    @robertoberto

    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.

  8. github-actions commented on Jul 23, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions