@ai-sdk/google-vertex 5.0.83 → 5.0.85
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.
- package/CHANGELOG.md +26 -0
- package/dist/anthropic/edge/index.d.ts +1 -1
- package/dist/anthropic/edge/index.js +1 -1
- package/dist/anthropic/index.d.ts +1 -1
- package/dist/edge/index.js +1 -1
- package/dist/index.js +1 -1
- package/dist/maas/edge/index.js +1 -1
- package/dist/xai/edge/index.js +1 -1
- package/docs/16-google-vertex.mdx +1 -0
- package/package.json +6 -6
- package/src/anthropic/google-vertex-anthropic-options.ts +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# @ai-sdk/google-vertex
|
|
2
2
|
|
|
3
|
+
## 5.0.85
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [a22b5b2]
|
|
8
|
+
- Updated dependencies [132bdae]
|
|
9
|
+
- Updated dependencies [11b4c2d]
|
|
10
|
+
- Updated dependencies [91c2128]
|
|
11
|
+
- Updated dependencies [2cd80b3]
|
|
12
|
+
- Updated dependencies [d06bb2a]
|
|
13
|
+
- Updated dependencies [123d71f]
|
|
14
|
+
- Updated dependencies [2fa5e0e]
|
|
15
|
+
- @ai-sdk/google@4.0.73
|
|
16
|
+
- @ai-sdk/anthropic@4.0.55
|
|
17
|
+
- @ai-sdk/openai-compatible@3.0.50
|
|
18
|
+
- @ai-sdk/provider-utils@5.0.42
|
|
19
|
+
- @ai-sdk/provider@4.0.16
|
|
20
|
+
|
|
21
|
+
## 5.0.84
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- c83bc67: feat: add Claude Fable 5.1 model IDs to Bedrock and Vertex providers
|
|
26
|
+
- Updated dependencies [4a994ad]
|
|
27
|
+
- @ai-sdk/google@4.0.72
|
|
28
|
+
|
|
3
29
|
## 5.0.83
|
|
4
30
|
|
|
5
31
|
### Patch Changes
|
|
@@ -20,7 +20,7 @@ interface GoogleCredentials {
|
|
|
20
20
|
privateKeyId?: string;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
type GoogleVertexAnthropicModelId = 'claude-sonnet-5' | 'claude-fable-5' | 'claude-opus-4-8' | 'claude-opus-4-7' | 'claude-opus-4-6' | 'claude-sonnet-4-6' | 'claude-opus-4-5@20251101' | 'claude-sonnet-4-5@20250929' | 'claude-opus-4-1@20250805' | 'claude-opus-4@20250514' | 'claude-sonnet-4@20250514' | 'claude-3-7-sonnet@20250219' | 'claude-3-5-sonnet-v2@20241022' | 'claude-3-5-haiku@20241022' | 'claude-3-5-sonnet@20240620' | 'claude-3-haiku@20240307' | 'claude-3-sonnet@20240229' | 'claude-3-opus@20240229' | (string & {});
|
|
23
|
+
type GoogleVertexAnthropicModelId = 'claude-sonnet-5' | 'claude-fable-5' | 'claude-fable-5-1' | 'claude-opus-4-8' | 'claude-opus-4-7' | 'claude-opus-4-6' | 'claude-sonnet-4-6' | 'claude-opus-4-5@20251101' | 'claude-sonnet-4-5@20250929' | 'claude-opus-4-1@20250805' | 'claude-opus-4@20250514' | 'claude-sonnet-4@20250514' | 'claude-3-7-sonnet@20250219' | 'claude-3-5-sonnet-v2@20241022' | 'claude-3-5-haiku@20241022' | 'claude-3-5-sonnet@20240620' | 'claude-3-haiku@20240307' | 'claude-3-sonnet@20240229' | 'claude-3-opus@20240229' | (string & {});
|
|
24
24
|
|
|
25
25
|
type GoogleVertexAnthropicTools = Pick<typeof anthropicTools, 'bash_20241022' | 'bash_20250124' | 'textEditor_20241022' | 'textEditor_20250124' | 'textEditor_20250429' | 'textEditor_20250728' | 'computer_20241022' | 'webSearch_20250305' | 'toolSearchRegex_20251119' | 'toolSearchBm25_20251119'>;
|
|
26
26
|
/**
|
|
@@ -3,7 +3,7 @@ import { ProviderV4, LanguageModelV4 } from '@ai-sdk/provider';
|
|
|
3
3
|
import { Resolvable, FetchFunction } from '@ai-sdk/provider-utils';
|
|
4
4
|
import { anthropicTools } from '@ai-sdk/anthropic/internal';
|
|
5
5
|
|
|
6
|
-
type GoogleVertexAnthropicModelId = 'claude-sonnet-5' | 'claude-fable-5' | 'claude-opus-4-8' | 'claude-opus-4-7' | 'claude-opus-4-6' | 'claude-sonnet-4-6' | 'claude-opus-4-5@20251101' | 'claude-sonnet-4-5@20250929' | 'claude-opus-4-1@20250805' | 'claude-opus-4@20250514' | 'claude-sonnet-4@20250514' | 'claude-3-7-sonnet@20250219' | 'claude-3-5-sonnet-v2@20241022' | 'claude-3-5-haiku@20241022' | 'claude-3-5-sonnet@20240620' | 'claude-3-haiku@20240307' | 'claude-3-sonnet@20240229' | 'claude-3-opus@20240229' | (string & {});
|
|
6
|
+
type GoogleVertexAnthropicModelId = 'claude-sonnet-5' | 'claude-fable-5' | 'claude-fable-5-1' | 'claude-opus-4-8' | 'claude-opus-4-7' | 'claude-opus-4-6' | 'claude-sonnet-4-6' | 'claude-opus-4-5@20251101' | 'claude-sonnet-4-5@20250929' | 'claude-opus-4-1@20250805' | 'claude-opus-4@20250514' | 'claude-sonnet-4@20250514' | 'claude-3-7-sonnet@20250219' | 'claude-3-5-sonnet-v2@20241022' | 'claude-3-5-haiku@20241022' | 'claude-3-5-sonnet@20240620' | 'claude-3-haiku@20240307' | 'claude-3-sonnet@20240229' | 'claude-3-opus@20240229' | (string & {});
|
|
7
7
|
|
|
8
8
|
type GoogleVertexAnthropicTools = Pick<typeof anthropicTools, 'bash_20241022' | 'bash_20250124' | 'textEditor_20241022' | 'textEditor_20250124' | 'textEditor_20250429' | 'textEditor_20250728' | 'computer_20241022' | 'webSearch_20250305' | 'toolSearchRegex_20251119' | 'toolSearchBm25_20251119'>;
|
|
9
9
|
/**
|
package/dist/edge/index.js
CHANGED
package/dist/index.js
CHANGED
package/dist/maas/edge/index.js
CHANGED
package/dist/xai/edge/index.js
CHANGED
|
@@ -1832,6 +1832,7 @@ See also [Anthropic Model Comparison](https://docs.anthropic.com/en/docs/about-c
|
|
|
1832
1832
|
|
|
1833
1833
|
| Model | Image Input | Object Generation | Tool Usage | Tool Streaming | Computer Use |
|
|
1834
1834
|
| ------------------------------- | ----------- | ----------------- | ---------- | -------------- | ------------ |
|
|
1835
|
+
| `claude-fable-5-1` | <Check /> | <Check /> | <Check /> | <Check /> | <Check /> |
|
|
1835
1836
|
| `claude-3-7-sonnet@20250219` | <Check /> | <Check /> | <Check /> | <Check /> | <Check /> |
|
|
1836
1837
|
| `claude-3-5-sonnet-v2@20241022` | <Check /> | <Check /> | <Check /> | <Check /> | <Check /> |
|
|
1837
1838
|
| `claude-3-5-sonnet@20240620` | <Check /> | <Check /> | <Check /> | <Check /> | <Cross /> |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-sdk/google-vertex",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.85",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -71,11 +71,11 @@
|
|
|
71
71
|
}
|
|
72
72
|
},
|
|
73
73
|
"dependencies": {
|
|
74
|
-
"@ai-sdk/anthropic": "4.0.
|
|
75
|
-
"@ai-sdk/google": "4.0.
|
|
76
|
-
"@ai-sdk/openai-compatible": "3.0.
|
|
77
|
-
"@ai-sdk/provider": "4.0.
|
|
78
|
-
"@ai-sdk/provider-utils": "5.0.
|
|
74
|
+
"@ai-sdk/anthropic": "4.0.55",
|
|
75
|
+
"@ai-sdk/google": "4.0.73",
|
|
76
|
+
"@ai-sdk/openai-compatible": "3.0.50",
|
|
77
|
+
"@ai-sdk/provider": "4.0.16",
|
|
78
|
+
"@ai-sdk/provider-utils": "5.0.42",
|
|
79
79
|
"google-auth-library": "^10.6.2"
|
|
80
80
|
},
|
|
81
81
|
"devDependencies": {
|