Skip to content

fix(drivers-prompt-amazon-bedrock): omit unsupported temperature#2248

Merged
collindutter merged 1 commit into
mainfrom
ops-4.7
Jul 14, 2026
Merged

fix(drivers-prompt-amazon-bedrock): omit unsupported temperature#2248
collindutter merged 1 commit into
mainfrom
ops-4.7

Conversation

@collindutter

Copy link
Copy Markdown
Member

Claude Opus 4.7 rejects temperature in Bedrock Converse requests, while BasePromptDriver supplies 0.1 by default. Calls routed through Bedrock therefore fail before generation even when callers did not explicitly configure sampling.

Bedrock can represent a model through plain IDs, geographic inference profile IDs, or ARNs, so capability detection needs to recognize the model family across those forms. This aligns the Bedrock path with the direct AnthropicPromptDriver behavior introduced in #2163.

A live invocation against global.anthropic.claude-opus-4-7 confirmed that the previous payload produces the reported ValidationException, while the fixed driver omits temperature and successfully returns a response. Related to griptape-ai/griptape-cloud#2104.

Note

Beep boop. This PR description was written by AI.

@codecov

codecov Bot commented Jul 14, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@collindutter
collindutter requested review from a team and zachgiordano and removed request for a team July 14, 2026 18:09
@collindutter
collindutter enabled auto-merge July 14, 2026 18:09
@collindutter
collindutter added this pull request to the merge queue Jul 14, 2026
Merged via the queue into main with commit ff8e1b8 Jul 14, 2026
17 checks passed
@collindutter
collindutter deleted the ops-4.7 branch July 14, 2026 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants