Skip to content

feat(providers): add Claude Sonnet 5.5 capabilities - #456

Open
luizParreira wants to merge 1 commit into
mainfrom
feat/sonnet-5-5
Open

luizParreira wants to merge 1 commit into
mainfrom
feat/sonnet-5-5

Conversation

@luizParreira

Copy link
Copy Markdown
Member

Summary

  • Adds claude-sonnet-5-5: 1M context, 128K output, $2/$10 per 1M tokens, cache reads at 10%. Thinking is adaptive (not always on) with default effort high, and budget thinking is rejected.
  • Adds a MODEL_SONNET_55 constant and a sonnet_55 constructor, and lists the model as adaptive-thinking for the Anthropic and Vertex providers, so budget thinking fails fast in validate_thinking_config instead of returning a 400.
  • Adds a capability row, lookup and budget-rejection tests, and the README adaptive-thinking list.

Source: https://platform.claude.com/docs/en/models/overview

Testing

  • cargo fmt --all --check
  • cargo clippy --workspace --all-targets --all-features -- -D warnings
  • cargo test -p agent-sdk-providers --all-features (658 + 20 + 11 + 1 passed)
  • RUSTDOCFLAGS=-D warnings cargo doc -p agent-sdk-providers --all-features --no-deps

Add claude-sonnet-5-5 (1M context, 128K output, $2/$10, adaptive thinking
with default effort high, rejects budget thinking) with a sonnet_55
constructor, and list it as an adaptive-thinking model for the Anthropic
and Vertex providers so budget thinking fails fast instead of returning a
400.
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.

1 participant