@ai-sdk/anthropic 4.0.45 → 4.0.46

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,14 @@
1
1
  # @ai-sdk/anthropic
2
2
 
3
+ ## 4.0.46
4
+
5
+ ### Patch Changes
6
+
7
+ - aa45741: fix(provider/anthropic): preserve native message batch request counts in provider metadata and support the full language-model option surface in batch requests
8
+ - Updated dependencies [aa45741]
9
+ - @ai-sdk/provider@4.0.9
10
+ - @ai-sdk/provider-utils@5.0.34
11
+
3
12
  ## 4.0.45
4
13
 
5
14
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -263,6 +263,10 @@ declare const anthropicLanguageModelOptions: z.ZodObject<{
263
263
  fast: "fast";
264
264
  standard: "standard";
265
265
  }>>;
266
+ serviceTier: z.ZodOptional<z.ZodEnum<{
267
+ auto: "auto";
268
+ standard_only: "standard_only";
269
+ }>>;
266
270
  inferenceGeo: z.ZodOptional<z.ZodEnum<{
267
271
  us: "us";
268
272
  global: "global";