@ai-sdk/google 2.0.65 → 2.0.66

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,11 @@
1
1
  # @ai-sdk/google
2
2
 
3
+ ## 2.0.66
4
+
5
+ ### Patch Changes
6
+
7
+ - d634323: fix(provider/google): fix Gemini service tier enum after upstream update
8
+
3
9
  ## 2.0.65
4
10
 
5
11
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -39,7 +39,7 @@ declare const googleGenerativeAIProviderOptions: _ai_sdk_provider_utils.LazySche
39
39
  longitude: number;
40
40
  } | undefined;
41
41
  } | undefined;
42
- serviceTier?: "SERVICE_TIER_STANDARD" | "SERVICE_TIER_FLEX" | "SERVICE_TIER_PRIORITY" | undefined;
42
+ serviceTier?: "standard" | "flex" | "priority" | undefined;
43
43
  }>;
44
44
  type GoogleGenerativeAIProviderOptions = InferValidator<typeof googleGenerativeAIProviderOptions>;
45
45
 
package/dist/index.d.ts CHANGED
@@ -39,7 +39,7 @@ declare const googleGenerativeAIProviderOptions: _ai_sdk_provider_utils.LazySche
39
39
  longitude: number;
40
40
  } | undefined;
41
41
  } | undefined;
42
- serviceTier?: "SERVICE_TIER_STANDARD" | "SERVICE_TIER_FLEX" | "SERVICE_TIER_PRIORITY" | undefined;
42
+ serviceTier?: "standard" | "flex" | "priority" | undefined;
43
43
  }>;
44
44
  type GoogleGenerativeAIProviderOptions = InferValidator<typeof googleGenerativeAIProviderOptions>;
45
45
 
package/dist/index.js CHANGED
@@ -30,7 +30,7 @@ module.exports = __toCommonJS(index_exports);
30
30
  var import_provider_utils15 = require("@ai-sdk/provider-utils");
31
31
 
32
32
  // src/version.ts
33
- var VERSION = true ? "2.0.65" : "0.0.0-test";
33
+ var VERSION = true ? "2.0.66" : "0.0.0-test";
34
34
 
35
35
  // src/google-generative-ai-embedding-model.ts
36
36
  var import_provider = require("@ai-sdk/provider");
@@ -699,11 +699,7 @@ var googleGenerativeAIProviderOptions = (0, import_provider_utils5.lazySchema)(
699
699
  /**
700
700
  * Optional. The service tier to use for the request.
701
701
  */
702
- serviceTier: import_v44.z.enum([
703
- "SERVICE_TIER_STANDARD",
704
- "SERVICE_TIER_FLEX",
705
- "SERVICE_TIER_PRIORITY"
706
- ]).optional()
702
+ serviceTier: import_v44.z.enum(["standard", "flex", "priority"]).optional()
707
703
  })
708
704
  )
709
705
  );