@ai-sdk/google-vertex 5.0.149 → 5.0.151

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 CHANGED
@@ -1,5 +1,30 @@
1
1
  # @ai-sdk/google-vertex
2
2
 
3
+ ## 5.0.151
4
+
5
+ ### Patch Changes
6
+
7
+ - f958ef0: Promote `streamTranscription` (formerly `experimental_streamTranscribe`) and the `TranscriptionModelV4Stream*` provider types to stable, with deprecated experimental aliases for backwards compatibility.
8
+ - Updated dependencies [13b242c]
9
+ - Updated dependencies [07a3cc2]
10
+ - Updated dependencies [8246e9a]
11
+ - Updated dependencies [f958ef0]
12
+ - @ai-sdk/anthropic@4.0.113
13
+ - @ai-sdk/google@4.0.130
14
+ - @ai-sdk/provider@4.0.40
15
+ - @ai-sdk/provider-utils@5.0.87
16
+ - @ai-sdk/openai-compatible@3.0.98
17
+
18
+ ## 5.0.150
19
+
20
+ ### Patch Changes
21
+
22
+ - Updated dependencies [743e15b]
23
+ - @ai-sdk/provider-utils@5.0.86
24
+ - @ai-sdk/anthropic@4.0.112
25
+ - @ai-sdk/google@4.0.129
26
+ - @ai-sdk/openai-compatible@3.0.97
27
+
3
28
  ## 5.0.149
4
29
 
5
30
  ### Patch Changes
@@ -3,7 +3,7 @@ import { InvalidArgumentError, NoSuchModelError } from "@ai-sdk/provider";
3
3
  import { AnthropicLanguageModel, anthropicTools } from "@ai-sdk/anthropic/internal";
4
4
  import { z } from "zod/v4";
5
5
  //#region src/version.ts
6
- const VERSION = "5.0.149";
6
+ const VERSION = "5.0.151";
7
7
  //#endregion
8
8
  //#region src/edge/google-vertex-auth-edge.ts
9
9
  const loadCredentials = async () => {
@@ -587,7 +587,7 @@ function getUnlistedTranscriptionRequestConfig(modelId) {
587
587
  }
588
588
  //#endregion
589
589
  //#region src/version.ts
590
- const VERSION = "5.0.149";
590
+ const VERSION = "5.0.151";
591
591
  //#endregion
592
592
  //#region src/google-vertex-error.ts
593
593
  const googleVertexErrorDataSchema = lazySchema(() => zodSchema(z.object({ error: z.object({
@@ -1496,7 +1496,7 @@ var GoogleVertexGeminiTranscriptionModel = class GoogleVertexGeminiTranscription
1496
1496
  async doGenerate(options) {
1497
1497
  if (isLiveTranscriptionModelId(this.modelId)) throw new InvalidArgumentError({
1498
1498
  argument: "modelId",
1499
- message: `Model '${this.modelId}' only supports streaming transcription. Use experimental_streamTranscribe, or a unary model such as 'gemini-3.5-transcribe'.`
1499
+ message: `Model '${this.modelId}' only supports streaming transcription. Use streamTranscription, or a unary model such as 'gemini-3.5-transcribe'.`
1500
1500
  });
1501
1501
  const currentDate = this.config._internal?.currentDate?.() ?? /* @__PURE__ */ new Date();
1502
1502
  const warnings = [];