@ai-sdk/google-vertex 5.0.25 → 5.0.27
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 +16 -0
- package/dist/anthropic/edge/index.js +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 +8 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @ai-sdk/google-vertex
|
|
2
2
|
|
|
3
|
+
## 5.0.27
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- f126649: feat(provider/google): default unknown Gemini model IDs to the newest supported capabilities
|
|
8
|
+
- Updated dependencies [f126649]
|
|
9
|
+
- @ai-sdk/google@4.0.23
|
|
10
|
+
|
|
11
|
+
## 5.0.26
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies [66b7151]
|
|
16
|
+
- Updated dependencies [5e5453c]
|
|
17
|
+
- @ai-sdk/google@4.0.22
|
|
18
|
+
|
|
3
19
|
## 5.0.25
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
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
|
@@ -26,6 +26,14 @@ The Google Vertex, Google Vertex Anthropic, Google Vertex xAI, and Google Vertex
|
|
|
26
26
|
|
|
27
27
|
The Google Vertex provider instance is used to create model instances that call the Vertex AI API. The models available with this provider include [Google's Gemini models](https://cloud.google.com/vertex-ai/generative-ai/docs/learn/models). If you're looking to use [Anthropic's Claude models](https://cloud.google.com/vertex-ai/generative-ai/docs/partner-models/use-claude), see the [Google Vertex Anthropic Provider](#google-vertex-anthropic-provider-usage) section below.
|
|
28
28
|
|
|
29
|
+
<Note>
|
|
30
|
+
Vertex Gemini models share the Google provider's forward-compatible model
|
|
31
|
+
classification. Unrecognized `gemini-*` IDs and `-latest` aliases use the
|
|
32
|
+
newest supported Gemini request behavior, while known legacy IDs keep their
|
|
33
|
+
generation-specific tool, reasoning, function-response, and thought-signature
|
|
34
|
+
handling. The selected Vertex model must still support each requested feature.
|
|
35
|
+
</Note>
|
|
36
|
+
|
|
29
37
|
### Provider Instance
|
|
30
38
|
|
|
31
39
|
You can import the default provider instance `googleVertex` from `@ai-sdk/google-vertex`:
|
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.27",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"dependencies": {
|
|
74
74
|
"google-auth-library": "^10.6.2",
|
|
75
75
|
"@ai-sdk/anthropic": "4.0.18",
|
|
76
|
-
"@ai-sdk/google": "4.0.
|
|
76
|
+
"@ai-sdk/google": "4.0.23",
|
|
77
77
|
"@ai-sdk/openai-compatible": "3.0.14",
|
|
78
78
|
"@ai-sdk/provider": "4.0.3",
|
|
79
79
|
"@ai-sdk/provider-utils": "5.0.12"
|