@ai-sdk/google 4.0.0-beta.8 → 4.0.0-beta.9

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/dist/index.mjs CHANGED
@@ -7,7 +7,7 @@ import {
7
7
  } from "@ai-sdk/provider-utils";
8
8
 
9
9
  // src/version.ts
10
- var VERSION = true ? "4.0.0-beta.8" : "0.0.0-test";
10
+ var VERSION = true ? "4.0.0-beta.9" : "0.0.0-test";
11
11
 
12
12
  // src/google-generative-ai-embedding-model.ts
13
13
  import {
@@ -109,7 +109,7 @@ var googleEmbeddingModelOptions = lazySchema2(
109
109
  // src/google-generative-ai-embedding-model.ts
110
110
  var GoogleGenerativeAIEmbeddingModel = class {
111
111
  constructor(modelId, config) {
112
- this.specificationVersion = "v3";
112
+ this.specificationVersion = "v4";
113
113
  this.maxEmbeddingsPerCall = 2048;
114
114
  this.supportsParallelCalls = true;
115
115
  this.modelId = modelId;
@@ -944,7 +944,7 @@ function mapGoogleGenerativeAIFinishReason({
944
944
  // src/google-generative-ai-language-model.ts
945
945
  var GoogleGenerativeAILanguageModel = class {
946
946
  constructor(modelId, config) {
947
- this.specificationVersion = "v3";
947
+ this.specificationVersion = "v4";
948
948
  var _a;
949
949
  this.modelId = modelId;
950
950
  this.config = config;
@@ -1929,7 +1929,7 @@ var GoogleGenerativeAIImageModel = class {
1929
1929
  this.modelId = modelId;
1930
1930
  this.settings = settings;
1931
1931
  this.config = config;
1932
- this.specificationVersion = "v3";
1932
+ this.specificationVersion = "v4";
1933
1933
  }
1934
1934
  get maxImagesPerCall() {
1935
1935
  if (this.settings.maxImagesPerCall != null) {
@@ -2183,7 +2183,7 @@ var GoogleGenerativeAIVideoModel = class {
2183
2183
  constructor(modelId, config) {
2184
2184
  this.modelId = modelId;
2185
2185
  this.config = config;
2186
- this.specificationVersion = "v3";
2186
+ this.specificationVersion = "v4";
2187
2187
  }
2188
2188
  get provider() {
2189
2189
  return this.config.provider;
@@ -2495,7 +2495,7 @@ function createGoogleGenerativeAI(options = {}) {
2495
2495
  }
2496
2496
  return createChatModel(modelId);
2497
2497
  };
2498
- provider.specificationVersion = "v3";
2498
+ provider.specificationVersion = "v4";
2499
2499
  provider.languageModel = createChatModel;
2500
2500
  provider.chat = createChatModel;
2501
2501
  provider.generativeAI = createChatModel;