@ai-sdk/amazon-bedrock 4.0.191 → 4.0.192

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.191" : "0.0.0-test";
38
+ var VERSION = true ? "4.0.192" : "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.191" : "0.0.0-test";
26
+ var VERSION = true ? "4.0.192" : "0.0.0-test";
27
27
 
28
28
  // src/bedrock-sigv4-fetch.ts
29
29
  function createSigV4FetchFunction(getCredentials, fetch, service = "bedrock") {
@@ -1751,6 +1751,7 @@ on how to integrate reasoning into your chatbot.
1751
1751
  | ---------------------------------------------- | ------------------- | ------------------- | ------------------- | ------------------- | ------------------- |
1752
1752
  | `us.anthropic.claude-sonnet-5-5` | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> |
1753
1753
  | `us.anthropic.claude-sonnet-5` | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> |
1754
+ | `us.anthropic.claude-haiku-5-5` | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> |
1754
1755
  | `us.anthropic.claude-fable-5` | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> |
1755
1756
  | `us.anthropic.claude-opus-4-8` | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> |
1756
1757
  | `us.anthropic.claude-opus-4-7` | <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.191",
3
+ "version": "4.0.192",
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.127",
47
+ "@ai-sdk/anthropic": "3.0.128",
48
48
  "@ai-sdk/openai": "3.0.124",
49
49
  "@ai-sdk/provider": "3.0.18",
50
50
  "@ai-sdk/provider-utils": "4.0.57"
@@ -1,6 +1,7 @@
1
1
  export type BedrockAnthropicModelId =
2
2
  | 'anthropic.claude-sonnet-5'
3
3
  | 'anthropic.claude-sonnet-5-5'
4
+ | 'anthropic.claude-haiku-5-5'
4
5
  | 'anthropic.claude-fable-5'
5
6
  | 'anthropic.claude-opus-5'
6
7
  | 'anthropic.claude-opus-5-5'
@@ -23,6 +24,7 @@ export type BedrockAnthropicModelId =
23
24
  | 'anthropic.claude-3-haiku-20240307-v1:0'
24
25
  | 'us.anthropic.claude-sonnet-5'
25
26
  | 'us.anthropic.claude-sonnet-5-5'
27
+ | 'us.anthropic.claude-haiku-5-5'
26
28
  | 'us.anthropic.claude-fable-5'
27
29
  | 'us.anthropic.claude-opus-5'
28
30
  | 'us.anthropic.claude-opus-5-5'
@@ -36,6 +36,7 @@ const MODELS_WITHOUT_STRICT_TOOL_SUPPORT = [
36
36
  'claude-opus-5',
37
37
  'claude-fable-5',
38
38
  'claude-sonnet-5',
39
+ 'claude-haiku-5-5',
39
40
  ];
40
41
 
41
42
  // Native structured output is unreliable for additional models even though
@@ -9,6 +9,7 @@ export type BedrockChatModelId =
9
9
  | 'anthropic.claude-instant-v1'
10
10
  | 'anthropic.claude-sonnet-5'
11
11
  | 'anthropic.claude-sonnet-5-5'
12
+ | 'anthropic.claude-haiku-5-5'
12
13
  | 'anthropic.claude-fable-5'
13
14
  | 'anthropic.claude-opus-5'
14
15
  | 'anthropic.claude-opus-5-5'
@@ -63,6 +64,7 @@ export type BedrockChatModelId =
63
64
  | 'us.anthropic.claude-3-7-sonnet-20250219-v1:0'
64
65
  | 'us.anthropic.claude-sonnet-5'
65
66
  | 'us.anthropic.claude-sonnet-5-5'
67
+ | 'us.anthropic.claude-haiku-5-5'
66
68
  | 'us.anthropic.claude-fable-5'
67
69
  | 'us.anthropic.claude-opus-5'
68
70
  | 'us.anthropic.claude-opus-5-5'