You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix: add display 'summarized' for Opus 4.7 on Bedrock to prevent reasoning errors #23166
Claude Opus 4.7 on AWS Bedrock fails with "reasoning part 0 not found" error on first message when using extended thinking. Opus 4.7 defaults thinking.display to "omitted" instead of "summarized".
Steps to Reproduce
Configure OpenCode to use us.anthropic.claude-opus-4-20250514 on AWS Bedrock
Enable extended thinking (any variant)
Send a message
Expected vs Actual
Expected: First message completes
Actual: "reasoning part 0 not found" error
Why This Happens
Commit #22873 fixed this for Anthropic Messages API but not for Bedrock. When display: "omitted", thinking blocks arrive empty, breaking Vercel AI SDK's streaming transform.
The issue footer explicitly states it was "Authored by: Haiku 4.5 (90%)" — AI-generated content is not acceptable per our contributing guidelines. Please rewrite this in your own words, describing what you actually observed and experienced.
The title uses a PR-style prefix ("fix:") rather than following the Bug Report template format.
Please edit this issue to address the above within 2 hours, or it will be automatically closed.
This issue might be a duplicate of existing issues. Please check:
Activity
github-actions commentedon Apr 17, 2026
This issue doesn't fully meet our contributing guidelines.
What needs to be fixed:
Please edit this issue to address the above within 2 hours, or it will be automatically closed.
This issue might be a duplicate of existing issues. Please check:
If you believe this was flagged incorrectly, please let a maintainer know.
github-actions commentedon Apr 17, 2026
This issue has been automatically closed because it was not updated to meet our contributing guidelines within the 2-hour window.
Feel free to open a new issue that follows our issue templates.