@ai-sdk/anthropic 4.0.45 → 4.0.47

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,23 @@
1
1
  # @ai-sdk/anthropic
2
2
 
3
+ ## 4.0.47
4
+
5
+ ### Patch Changes
6
+
7
+ - 5190b67: feat(provider): extend the FilesV4 interface with optional `getFileMetadata`, `downloadFile` (streaming), and `deleteFile` operations, plus `abortSignal`/`headers` call options and a `{ type: 'stream' }` upload data variant; upload results now expose `byteSize`, `createdAt`, and `expiresAt` (also surfaced by the core `uploadFile()` helper, which now forwards `abortSignal`/`headers`); add `postMultipartStreamToApi` (streaming multipart uploads with deterministic part ordering and failure-path stream teardown), `deleteFromApi`, and `createBinaryStreamResponseHandler` to provider-utils
8
+ - Updated dependencies [5190b67]
9
+ - @ai-sdk/provider@4.0.10
10
+ - @ai-sdk/provider-utils@5.0.35
11
+
12
+ ## 4.0.46
13
+
14
+ ### Patch Changes
15
+
16
+ - aa45741: fix(provider/anthropic): preserve native message batch request counts in provider metadata and support the full language-model option surface in batch requests
17
+ - Updated dependencies [aa45741]
18
+ - @ai-sdk/provider@4.0.9
19
+ - @ai-sdk/provider-utils@5.0.34
20
+
3
21
  ## 4.0.45
4
22
 
5
23
  ### 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";