Skip to content

Github Copilot / Opus 4.6 Error #12337

Closed as not planned
Closed as not planned

Description

@doriuf

Description

I'm getting "This model does not support assistant message prefill. The conversation must end with a user message." error when using opus 4.6 with copilot.

Plugins

"opencode-gemini-auth@latest"
"@tarquinen/opencode-dcp@latest"

OpenCode version

1.1.52

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Activity

  1. rekram1-node commented on Feb 5, 2026

    @rekram1-node
    Contributor

    How are u triggering it? I cannot replicate

  2. doriuf commented on Feb 5, 2026

    @doriuf
    Author

    How are u triggering it? I cannot replicate

    Just by sending a normal message

    Image
  3. rekram1-node commented on Feb 5, 2026

    @rekram1-node
    Contributor

    @arfadex can u do opencode export > session.json

    And can u show me:

    opencode debug config

  4. doriuf commented on Feb 5, 2026

    @doriuf
    Author

    @arfadex can u do opencode export > session.json

    And can u show me:

    opencode debug config

    I found the issue! It was caused by this plugin: https://github.com/Opencode-DCP/opencode-dynamic-context-pruning

    Everything's working properly now. Do you still need the session.json and opencode debug config output I was going to send you?

  5. rekram1-node commented on Feb 5, 2026

    @rekram1-node
    Contributor

    no, all good thanks. I will let the maintainer of that plugin that there are issues w/ it

  6. Tarquinen commented on Feb 5, 2026

    @Tarquinen
    Contributor

    thanks for the link Aiden, this was fixed a few minutes ago, restart your opencode!
    https://github.com/Opencode-DCP/opencode-dynamic-context-pruning/releases/tag/v2.0.0

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions