@ai-sdk/google-vertex 5.0.136 → 5.0.137

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.
@@ -2,7 +2,7 @@ import { fetchWithValidatedEndpoint, getRuntimeEnvironmentUserAgent, isBrowserRu
2
2
  import { InvalidArgumentError } from "@ai-sdk/provider";
3
3
  import { createOpenAICompatible } from "@ai-sdk/openai-compatible";
4
4
  //#region src/version.ts
5
- const VERSION = "5.0.136";
5
+ const VERSION = "5.0.137";
6
6
  //#endregion
7
7
  //#region src/edge/google-vertex-auth-edge.ts
8
8
  const loadCredentials = async () => {
@@ -2,7 +2,7 @@ import { getRuntimeEnvironmentUserAgent, loadOptionalSetting, loadSetting, resol
2
2
  import { NoSuchModelError } from "@ai-sdk/provider";
3
3
  import { createOpenAICompatible } from "@ai-sdk/openai-compatible";
4
4
  //#region src/version.ts
5
- const VERSION = "5.0.136";
5
+ const VERSION = "5.0.137";
6
6
  //#endregion
7
7
  //#region src/edge/google-vertex-auth-edge.ts
8
8
  const loadCredentials = async () => {
@@ -1051,6 +1051,7 @@ The following Zod features are known to not work with Google Vertex:
1051
1051
  | -------------------------------- | ----------- | ----------------- | ---------- | -------------- |
1052
1052
  | `gemini-nano-banana-2.1` | <Check /> | <Cross /> | <Cross /> | <Cross /> |
1053
1053
  | `gemini-4-argon` | <Check /> | <Check /> | <Check /> | <Check /> |
1054
+ | `gemini-4-carbon` | <Check /> | <Check /> | <Check /> | <Check /> |
1054
1055
  | `gemini-3.8-flash` | <Check /> | <Check /> | <Check /> | <Check /> |
1055
1056
  | `gemini-3.7-flash` | <Check /> | <Check /> | <Check /> | <Check /> |
1056
1057
  | `gemini-3.6-flash` | <Check /> | <Check /> | <Check /> | <Check /> |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-sdk/google-vertex",
3
- "version": "5.0.136",
3
+ "version": "5.0.137",
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.101",
75
- "@ai-sdk/google": "4.0.116",
76
- "@ai-sdk/openai-compatible": "3.0.89",
74
+ "@ai-sdk/anthropic": "4.0.102",
75
+ "@ai-sdk/google": "4.0.117",
76
+ "@ai-sdk/openai-compatible": "3.0.90",
77
77
  "@ai-sdk/provider": "4.0.37",
78
- "@ai-sdk/provider-utils": "5.0.78",
78
+ "@ai-sdk/provider-utils": "5.0.79",
79
79
  "google-auth-library": "^11.3.1"
80
80
  },
81
81
  "devDependencies": {
@@ -85,7 +85,7 @@
85
85
  "@vercel/ai-tsdown-config": "0.0.0",
86
86
  "tsdown": "^0.23.0",
87
87
  "typescript": "6.0.3",
88
- "zod": "3.25.76"
88
+ "zod": "4.6.7"
89
89
  },
90
90
  "peerDependencies": {
91
91
  "zod": "^3.25.76 || ^4.1.8"
@@ -342,6 +342,7 @@ const entries: [string, VertexEntry][] = [
342
342
  ...[
343
343
  'gemini-nano-banana-2.1',
344
344
  'gemini-4-argon',
345
+ 'gemini-4-carbon',
345
346
  'gemini-3.8-flash',
346
347
  'gemini-3.7-flash',
347
348
  'gemini-3.6-flash',
@@ -5,6 +5,7 @@ export type GoogleVertexModelId =
5
5
  // Stable models
6
6
  | 'gemini-nano-banana-2.1'
7
7
  | 'gemini-4-argon'
8
+ | 'gemini-4-carbon'
8
9
  | 'gemini-3.8-flash'
9
10
  | 'gemini-3.7-flash'
10
11
  | 'gemini-3.6-flash'