Skip to content

Error on session compaction on Opus 4.6 #17911

@amannhq

Description

@amannhq

Description

Getting this error on session compaction

undefined: The model returned the following errors: messages.3.content.1: thinking or redacted_thinking blocks in the latest assistant message cannot be modified. These blocks must remain as they were in the original response.

Image

Plugins

oh-my-openagent

OpenCode version

No response

Steps to reproduce

  1. Start the agent install the oh-my-openagent plugin select Sisyphus (Ultraworker) agent.
  2. Give a prompt select Opus 4.6 connect via amazon-bedrock.
  3. Wait till context window reaches and trigged auto compaction

Screenshot and/or share link

No response

Operating System

macos Tahoe

Terminal

Opencode desktop

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions