Skip to content

Opus 4.6 with beta string "anthropicBeta": ["context-1m-2025-08-07"] stopped working in AWS Bedrock #16486

@SpotlightForBugs

Description

@SpotlightForBugs

Description

A recent update broke Opus 4.6 with the beta string in AWS Bedrock
It now compacts every 200k tokens AND fails to do so with either "undefined: The content field in the Message object at messages.7 is empty. Add a ContentBlock object to the content field and try again." OR Errors referring to thinking or redactedthinking

Plugins

None

OpenCode version

1.2.10

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

MacOS 26.3.1 (25D2128)

Terminal

Alacritty / Default Term

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcoreAnything pertaining to core functionality of the application (opencode server stuff)

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