Github Copilot / Opus 4.6 Error #8630

Closed
opened 2026-02-16 18:10:26 -05:00 by yindo · 6 comments
Owner

Originally created by @arfadex on GitHub (Feb 5, 2026).

Originally assigned to: @rekram1-node on GitHub.

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

Originally created by @arfadex on GitHub (Feb 5, 2026). Originally assigned to: @rekram1-node on GitHub. ### 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_
yindo added the bug label 2026-02-16 18:10:26 -05:00
yindo closed this issue 2026-02-16 18:10:26 -05:00
Author
Owner

@rekram1-node commented on GitHub (Feb 5, 2026):

How are u triggering it? I cannot replicate

@rekram1-node commented on GitHub (Feb 5, 2026): How are u triggering it? I cannot replicate
Author
Owner

@arfadex commented on GitHub (Feb 5, 2026):

How are u triggering it? I cannot replicate

Just by sending a normal message

Image
@arfadex commented on GitHub (Feb 5, 2026): > How are u triggering it? I cannot replicate Just by sending a normal message <img width="1641" height="136" alt="Image" src="https://github.com/user-attachments/assets/07b29a92-9988-4696-a241-3985c52add04" />
Author
Owner

@rekram1-node commented on GitHub (Feb 5, 2026):

@arfadex can u do opencode export > session.json

And can u show me:

opencode debug config

@rekram1-node commented on GitHub (Feb 5, 2026): @arfadex can u do `opencode export > session.json` And can u show me: `opencode debug config`
Author
Owner

@arfadex commented on GitHub (Feb 5, 2026):

@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?

@arfadex commented on GitHub (Feb 5, 2026): > [@arfadex](https://github.com/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?
Author
Owner

@rekram1-node commented on GitHub (Feb 5, 2026):

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

@rekram1-node commented on GitHub (Feb 5, 2026): no, all good thanks. I will let the maintainer of that plugin that there are issues w/ it
Author
Owner

@Tarquinen commented on GitHub (Feb 5, 2026):

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

@Tarquinen commented on GitHub (Feb 5, 2026): 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 in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#8630