mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
Bedrock rejects legacy `thinking.type=enabled` requests for Claude Opus 4.8 because the model requires adaptive thinking. The AI Bridge Bedrock shim only recognized Opus 4.7 as adaptive-only, so Opus 4.8 requests could fall through and produce Bedrock 400 responses. Add Opus 4.8 to the adaptive-only model detection and cover the regional Bedrock model ID form with a regression test. <details> <summary>Coder Agents disclosure</summary> This PR was generated by Coder Agents on behalf of @ericpaulsen. </details>