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
5 changes: 3 additions & 2 deletions providers/aws-bedrock/amazon.nova-canvas-v1:0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ costs:
- output_cost_per_image: 0.06
region: ap-northeast-1
deprecationDate: "2026-09-30"
isDeprecated: true
modalities:
input:
- text
Expand All @@ -19,14 +20,14 @@ removeParams:
- max_tokens
- temperature
- top_p
- "n"
- n
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Unquoted n may parse as boolean false

Medium Severity

The removeParams entry "n" had its quotes removed, becoming bare n. In YAML 1.1 (used by PyYAML, Ruby YAML, Go yaml.v2, and others), bare n is resolved as boolean false, not the string "n". All five other similar model files in this provider (amazon.nova-lite-v1:0, amazon.nova-micro-v1:0, amazon.nova-pro-v1:0, amazon.nova-reel-v1:0, amazon.nova-2-multimodal-embeddings-v1:0) consistently quote this value as "n". The .yamllint.yml truthy rule is also likely to flag this.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit c40313b. Configure here.

- stop
- stream
sources:
- https://docs.aws.amazon.com/nova/latest/userguide/image-gen-req-resp-structure.html
- https://docs.aws.amazon.com/nova/latest/userguide/what-is-nova.html
- https://docs.aws.amazon.com/nova/latest/userguide/image-gen-access.html
- https://docs.aws.amazon.com/bedrock/latest/userguide/model-card-amazon-nova-canvas.html
status: active
status: deprecated
supportedModes:
- image
Loading