Repository navigation
Conversation
|
Thanks for your contribution! This PR doesn't have a linked issue. All PRs must reference an existing issue. Please:
See CONTRIBUTING.md for details. |
|
The following comment was made by an LLM, it may be inaccurate: |
|
Thanks for updating your PR! It now meets our contributing guidelines. 👍 |
|
Updated the description to the required PR template. The issue is #51481, with The remaining I tried |
|
Automated PR Cleanup Thank you for contributing to opencode. Due to the high volume of PRs from users and AI agents, we periodically close older PRs using automated criteria so maintainers can focus review time on the most active and community-supported contributions. This PR was closed because it matched the following cleanup criteria:
PRs created within the last month are not affected by this cleanup. If you believe this PR was closed incorrectly, or if you are still actively working on it, please leave a comment explaining why it should be reopened. A maintainer can review and reopen it if appropriate. Thanks again for taking the time to contribute. |
Issue for this PR
Fixes #51481
#51481
Type of change
What does this PR do?
Bedrock Converse omits the thinking-binding recovery that Anthropic Messages already enables. Opus 5.5 then rejects saved conversations after a prefix change or a gap in thinking history.
Apply the same model gating and default
drop_blockpolicy to Bedrock, including its required beta. Merge the fields after body overrides and before SigV4 signing, preserving existing settings and opt-outs. This prevents the hard failure; it does not repair the history edits that invalidate thinking.How did you verify your code works?
bun run checkpasses, including all 35 type-check tasks.errorrejects replay, then confirm the patched default succeeds.Screenshots / recordings
Not applicable; no UI changes.
Checklist