Skip to content

fix(aibridge): support Bedrock Opus 4.8 adaptive thinking#26691

Merged
pawbana merged 1 commit into
mainfrom
fix/bedrock-opus-48-adaptive-thinking
Jun 25, 2026
Merged

fix(aibridge): support Bedrock Opus 4.8 adaptive thinking#26691
pawbana merged 1 commit into
mainfrom
fix/bedrock-opus-48-adaptive-thinking

Conversation

@ericpaulsen

Copy link
Copy Markdown
Member

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.

Coder Agents disclosure

This PR was generated by Coder Agents on behalf of @ericpaulsen.

@pawbana pawbana marked this pull request as ready for review June 25, 2026 14:50
@linear-code

linear-code Bot commented Jun 25, 2026

Copy link
Copy Markdown

AIGOV-483

@pawbana pawbana merged commit 96aecd8 into main Jun 25, 2026
57 of 58 checks passed
@pawbana pawbana deleted the fix/bedrock-opus-48-adaptive-thinking branch June 25, 2026 14:50
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 25, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants