Skip to content

Multiple system prompts break Qwen3.5-* models #15059

Description

@DaGhostman

Description

As part of investigating what could've caused Opencode-DCP/opencode-dynamic-context-pruning#407 I noticed that the tool was adding another system prompt, which caused for this model to break.

Despite being fixed in the plugin it makes sense to at least have it as a known issue, so this is mostly for documentation purposes and if there are other plugins that could incur such behavior for the qwen3.5 or other models.

Also maybe as a suggestion if there are multiple system prompts to be concatenated into a single one before dispatch to the model, similarly to how it is done here

Plugins

@tarquinen/opencode-dcp

OpenCode version

1.2.12

Steps to reproduce

  1. Install @tarquinen/opencode-dcp with version <= 2.1.7
  2. Start a session with any of the Qwen3.5 models
  3. Send a message and expect to receive error this error

Screenshot and/or share link

No response

Operating System

EndeavourOS

Terminal

Ghostty

Activity

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