Skip to content

@ai-sdk/amazon-bedrock@4.0.186

Choose a tag to compare

@github-actions github-actions released this 28 Sep 18:43
· 2562 commits to main since this release
e1b3faa

Patch Changes

  • 358683e: feat(anthropic): add Claude Sonnet 5.5 support

    • add the claude-sonnet-5-5 model ID to @ai-sdk/anthropic and @ai-sdk/google-vertex, anthropic.claude-sonnet-5-5 and us.anthropic.claude-sonnet-5-5 to @ai-sdk/amazon-bedrock, and anthropic/claude-sonnet-5.5 to @ai-sdk/gateway
    • add the between_tools thinking type (thinking: { type: 'between_tools' }), the lowest thinking setting on claude-sonnet-5-5; xhigh and max effort are lowered to high with a warning because the API rejects them with between_tools
    • claude-sonnet-5-5 rejects disabled thinking: thinking: { type: 'disabled' } is replaced with between_tools thinking (with a warning), and budget-based thinking is converted to adaptive thinking
    • claude-sonnet-5-5 rejects forced tool use: required and named tool choices fall back to auto, and structuredOutputMode: 'jsonTool' falls back to native structured outputs, each with a warning
  • Updated dependencies [358683e]

  • Updated dependencies [eeabdce]

    • @ai-sdk/anthropic@3.0.125