@ai-sdk/amazon-bedrock 4.0.185 → 4.0.186

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -35,7 +35,7 @@ var import_provider_utils = require("@ai-sdk/provider-utils");
35
35
  var import_aws4fetch = require("aws4fetch");
36
36
 
37
37
  // src/version.ts
38
- var VERSION = true ? "4.0.185" : "0.0.0-test";
38
+ var VERSION = true ? "4.0.186" : "0.0.0-test";
39
39
 
40
40
  // src/bedrock-sigv4-fetch.ts
41
41
  function createSigV4FetchFunction(getCredentials, fetch, service = "bedrock") {
@@ -23,7 +23,7 @@ import {
23
23
  import { AwsV4Signer } from "aws4fetch";
24
24
 
25
25
  // src/version.ts
26
- var VERSION = true ? "4.0.185" : "0.0.0-test";
26
+ var VERSION = true ? "4.0.186" : "0.0.0-test";
27
27
 
28
28
  // src/bedrock-sigv4-fetch.ts
29
29
  function createSigV4FetchFunction(getCredentials, fetch, service = "bedrock") {
@@ -1703,6 +1703,7 @@ const result = await generateText({
1703
1703
 
1704
1704
  Anthropic has reasoning support for Claude 3.7 and Claude 4 models on Bedrock, including:
1705
1705
 
1706
+ - `us.anthropic.claude-sonnet-5-5`
1706
1707
  - `us.anthropic.claude-sonnet-5`
1707
1708
  - `us.anthropic.claude-fable-5`
1708
1709
  - `us.anthropic.claude-opus-4-8`
@@ -1748,6 +1749,7 @@ on how to integrate reasoning into your chatbot.
1748
1749
 
1749
1750
  | Model | Image Input | Object Generation | Tool Usage | Computer Use | Reasoning |
1750
1751
  | ---------------------------------------------- | ------------------- | ------------------- | ------------------- | ------------------- | ------------------- |
1752
+ | `us.anthropic.claude-sonnet-5-5` | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> |
1751
1753
  | `us.anthropic.claude-sonnet-5` | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> |
1752
1754
  | `us.anthropic.claude-fable-5` | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> |
1753
1755
  | `us.anthropic.claude-opus-4-8` | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-sdk/amazon-bedrock",
3
- "version": "4.0.185",
3
+ "version": "4.0.186",
4
4
  "license": "Apache-2.0",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/index.js",
@@ -44,7 +44,7 @@
44
44
  "@smithy/eventstream-codec": "^4.0.1",
45
45
  "@smithy/util-utf8": "^4.0.0",
46
46
  "aws4fetch": "^1.0.20",
47
- "@ai-sdk/anthropic": "3.0.124",
47
+ "@ai-sdk/anthropic": "3.0.125",
48
48
  "@ai-sdk/openai": "3.0.120",
49
49
  "@ai-sdk/provider": "3.0.18",
50
50
  "@ai-sdk/provider-utils": "4.0.56"
@@ -1,5 +1,6 @@
1
1
  export type BedrockAnthropicModelId =
2
2
  | 'anthropic.claude-sonnet-5'
3
+ | 'anthropic.claude-sonnet-5-5'
3
4
  | 'anthropic.claude-fable-5'
4
5
  | 'anthropic.claude-opus-5'
5
6
  | 'anthropic.claude-opus-5-5'
@@ -21,6 +22,7 @@ export type BedrockAnthropicModelId =
21
22
  | 'anthropic.claude-3-sonnet-20240229-v1:0'
22
23
  | 'anthropic.claude-3-haiku-20240307-v1:0'
23
24
  | 'us.anthropic.claude-sonnet-5'
25
+ | 'us.anthropic.claude-sonnet-5-5'
24
26
  | 'us.anthropic.claude-fable-5'
25
27
  | 'us.anthropic.claude-opus-5'
26
28
  | 'us.anthropic.claude-opus-5-5'
@@ -8,6 +8,7 @@ export type BedrockChatModelId =
8
8
  | 'anthropic.claude-v2:1'
9
9
  | 'anthropic.claude-instant-v1'
10
10
  | 'anthropic.claude-sonnet-5'
11
+ | 'anthropic.claude-sonnet-5-5'
11
12
  | 'anthropic.claude-fable-5'
12
13
  | 'anthropic.claude-opus-5'
13
14
  | 'anthropic.claude-opus-5-5'
@@ -61,6 +62,7 @@ export type BedrockChatModelId =
61
62
  | 'us.anthropic.claude-3-5-sonnet-20241022-v2:0'
62
63
  | 'us.anthropic.claude-3-7-sonnet-20250219-v1:0'
63
64
  | 'us.anthropic.claude-sonnet-5'
65
+ | 'us.anthropic.claude-sonnet-5-5'
64
66
  | 'us.anthropic.claude-fable-5'
65
67
  | 'us.anthropic.claude-opus-5'
66
68
  | 'us.anthropic.claude-opus-5-5'