@ai-sdk/google-vertex 2.1.10 → 2.1.12
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 +13 -0
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/edge/dist/index.d.mts +1 -1
- package/edge/dist/index.d.ts +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,18 @@
|
|
1
1
|
# @ai-sdk/google-vertex
|
2
2
|
|
3
|
+
## 2.1.12
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- Updated dependencies [6eb7fc4]
|
8
|
+
- @ai-sdk/google@1.1.11
|
9
|
+
|
10
|
+
## 2.1.11
|
11
|
+
|
12
|
+
### Patch Changes
|
13
|
+
|
14
|
+
- 4da908a: feat (provider/google-vertex): add new gemini models
|
15
|
+
|
3
16
|
## 2.1.10
|
4
17
|
|
5
18
|
### Patch Changes
|
package/dist/index.d.mts
CHANGED
@@ -3,7 +3,7 @@ import { Resolvable, FetchFunction } from '@ai-sdk/provider-utils';
|
|
3
3
|
import { InternalGoogleGenerativeAISettings } from '@ai-sdk/google/internal';
|
4
4
|
import { GoogleAuthOptions } from 'google-auth-library';
|
5
5
|
|
6
|
-
type GoogleVertexModelId = 'gemini-2.0-flash-
|
6
|
+
type GoogleVertexModelId = 'gemini-2.0-flash-001' | 'gemini-1.5-flash' | 'gemini-1.5-flash-001' | 'gemini-1.5-flash-002' | 'gemini-1.5-pro' | 'gemini-1.5-pro-001' | 'gemini-1.5-pro-002' | 'gemini-1.0-pro-001' | 'gemini-1.0-pro-vision-001' | 'gemini-1.0-pro' | 'gemini-1.0-pro-001' | 'gemini-1.0-pro-002' | 'gemini-2.0-flash-lite-preview-02-05' | 'gemini-2.0-pro-exp-02-05' | 'gemini-2.0-flash-exp' | (string & {});
|
7
7
|
interface GoogleVertexSettings extends InternalGoogleGenerativeAISettings {
|
8
8
|
}
|
9
9
|
|
package/dist/index.d.ts
CHANGED
@@ -3,7 +3,7 @@ import { Resolvable, FetchFunction } from '@ai-sdk/provider-utils';
|
|
3
3
|
import { InternalGoogleGenerativeAISettings } from '@ai-sdk/google/internal';
|
4
4
|
import { GoogleAuthOptions } from 'google-auth-library';
|
5
5
|
|
6
|
-
type GoogleVertexModelId = 'gemini-2.0-flash-
|
6
|
+
type GoogleVertexModelId = 'gemini-2.0-flash-001' | 'gemini-1.5-flash' | 'gemini-1.5-flash-001' | 'gemini-1.5-flash-002' | 'gemini-1.5-pro' | 'gemini-1.5-pro-001' | 'gemini-1.5-pro-002' | 'gemini-1.0-pro-001' | 'gemini-1.0-pro-vision-001' | 'gemini-1.0-pro' | 'gemini-1.0-pro-001' | 'gemini-1.0-pro-002' | 'gemini-2.0-flash-lite-preview-02-05' | 'gemini-2.0-pro-exp-02-05' | 'gemini-2.0-flash-exp' | (string & {});
|
7
7
|
interface GoogleVertexSettings extends InternalGoogleGenerativeAISettings {
|
8
8
|
}
|
9
9
|
|
package/edge/dist/index.d.mts
CHANGED
@@ -20,7 +20,7 @@ interface GoogleCredentials {
|
|
20
20
|
privateKeyId?: string;
|
21
21
|
}
|
22
22
|
|
23
|
-
type GoogleVertexModelId = 'gemini-2.0-flash-
|
23
|
+
type GoogleVertexModelId = 'gemini-2.0-flash-001' | 'gemini-1.5-flash' | 'gemini-1.5-flash-001' | 'gemini-1.5-flash-002' | 'gemini-1.5-pro' | 'gemini-1.5-pro-001' | 'gemini-1.5-pro-002' | 'gemini-1.0-pro-001' | 'gemini-1.0-pro-vision-001' | 'gemini-1.0-pro' | 'gemini-1.0-pro-001' | 'gemini-1.0-pro-002' | 'gemini-2.0-flash-lite-preview-02-05' | 'gemini-2.0-pro-exp-02-05' | 'gemini-2.0-flash-exp' | (string & {});
|
24
24
|
interface GoogleVertexSettings extends InternalGoogleGenerativeAISettings {
|
25
25
|
}
|
26
26
|
|
package/edge/dist/index.d.ts
CHANGED
@@ -20,7 +20,7 @@ interface GoogleCredentials {
|
|
20
20
|
privateKeyId?: string;
|
21
21
|
}
|
22
22
|
|
23
|
-
type GoogleVertexModelId = 'gemini-2.0-flash-
|
23
|
+
type GoogleVertexModelId = 'gemini-2.0-flash-001' | 'gemini-1.5-flash' | 'gemini-1.5-flash-001' | 'gemini-1.5-flash-002' | 'gemini-1.5-pro' | 'gemini-1.5-pro-001' | 'gemini-1.5-pro-002' | 'gemini-1.0-pro-001' | 'gemini-1.0-pro-vision-001' | 'gemini-1.0-pro' | 'gemini-1.0-pro-001' | 'gemini-1.0-pro-002' | 'gemini-2.0-flash-lite-preview-02-05' | 'gemini-2.0-pro-exp-02-05' | 'gemini-2.0-flash-exp' | (string & {});
|
24
24
|
interface GoogleVertexSettings extends InternalGoogleGenerativeAISettings {
|
25
25
|
}
|
26
26
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@ai-sdk/google-vertex",
|
3
|
-
"version": "2.1.
|
3
|
+
"version": "2.1.12",
|
4
4
|
"license": "Apache-2.0",
|
5
5
|
"sideEffects": false,
|
6
6
|
"main": "./dist/index.js",
|
@@ -38,7 +38,7 @@
|
|
38
38
|
},
|
39
39
|
"dependencies": {
|
40
40
|
"@ai-sdk/anthropic": "1.1.6",
|
41
|
-
"@ai-sdk/google": "1.1.
|
41
|
+
"@ai-sdk/google": "1.1.11",
|
42
42
|
"@ai-sdk/provider": "1.0.7",
|
43
43
|
"@ai-sdk/provider-utils": "2.1.6",
|
44
44
|
"google-auth-library": "^9.15.0"
|