@ai-sdk/google-vertex 5.0.69 → 5.0.71

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.js CHANGED
@@ -33,7 +33,7 @@ import {
33
33
  } from "@ai-sdk/provider-utils";
34
34
 
35
35
  // src/version.ts
36
- var VERSION = true ? "5.0.69" : "0.0.0-test";
36
+ var VERSION = true ? "5.0.71" : "0.0.0-test";
37
37
 
38
38
  // src/google-vertex-embedding-model.ts
39
39
  import {
@@ -134,7 +134,7 @@ var GoogleVertexEmbeddingModel = class _GoogleVertexEmbeddingModel {
134
134
  // gemini-embedding-2 models only support :embedContent (one value per call),
135
135
  // not the :predict batch endpoint. https://github.com/vercel/ai/issues/15853
136
136
  get maxEmbeddingsPerCall() {
137
- return usesEmbedContentEndpoint(this.modelId) ? 1 : 2048;
137
+ return usesEmbedContentEndpoint(this.modelId) ? 1 : 250;
138
138
  }
139
139
  async doEmbed({
140
140
  values,