Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

Merged
f0ssel merged 1 commit into
release/2.33from
cherry-pick/2.33/bedrock-opus-4-8-adaptive
Jun 27, 2026
Merged

fix(aibridge): support Bedrock Opus 4.8 adaptive thinking (#26691)#26707
f0ssel merged 1 commit into
release/2.33from
cherry-pick/2.33/bedrock-opus-4-8-adaptive

Conversation

@pawbana

@pawbana pawbana commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

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.

(cherry picked from commit 96aecd8)

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>

(cherry picked from commit 96aecd8)
@linear-code

linear-code Bot commented Jun 27, 2026

Copy link
Copy Markdown

AIGOV-483

@f0ssel
f0ssel merged commit c5d9257 into release/2.33 Jun 27, 2026
33 of 37 checks passed
@f0ssel
f0ssel deleted the cherry-pick/2.33/bedrock-opus-4-8-adaptive branch June 27, 2026 12:32
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 27, 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.

3 participants