Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions providers/aws-bedrock/eu.anthropic.claude-sonnet-5.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
costs:
- region: eu-west-3
- region: eu-west-2
- region: eu-west-1
- region: eu-south-2
- region: eu-south-1
- region: eu-north-1
- region: eu-central-2
- region: eu-central-1
features:
- function_calling
- parallel_function_calling
- tool_choice
- system_messages
- prompt_caching
- cache_control
- structured_output
- assistant_prefill
- json_output
limits:
context_window: 1000000
max_output_tokens: 128000
max_tokens: 128000

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing max_tokens param override

Medium Severity

limits allow 128000 output tokens, but there is no model-level params entry for max_tokens. Provider defaults cap max_tokens at 2048, so tooling can under-report or clamp requests for this model.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 9673182. Configure here.

modalities:
input:
- text
- image
output:
- text
mode: chat
model: eu.anthropic.claude-sonnet-5
Comment thread
cursor[bot] marked this conversation as resolved.
provisioning: serverless

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing unsupported parameter removal

Medium Severity

The profile has no removeParams, while providers/aws-bedrock/default.yaml still exposes temperature and top_p for Bedrock. Peer Sonnet 5 entries remove those keys so clients do not send unsupported sampling params to this model.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 9673182. Configure here.

sources:
- https://docs.aws.amazon.com/bedrock/latest/userguide/model-card-anthropic-claude-sonnet-5.html
- https://docs.aws.amazon.com/bedrock/latest/userguide/inference-profiles-support.html
status: active
supportedModes:
- chat
thinking: true
Loading