@ai-sdk/anthropic 2.1.0-beta.6 → 2.1.0-beta.7

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
@@ -10,7 +10,7 @@ import {
10
10
  } from "@ai-sdk/provider-utils";
11
11
 
12
12
  // src/version.ts
13
- var VERSION = true ? "2.1.0-beta.6" : "0.0.0-test";
13
+ var VERSION = true ? "2.1.0-beta.7" : "0.0.0-test";
14
14
 
15
15
  // src/anthropic-messages-language-model.ts
16
16
  import {
@@ -1879,7 +1879,7 @@ var anthropicMessagesResponseSchema = z7.object({
1879
1879
  retrieved_at: z7.string(),
1880
1880
  content: z7.object({
1881
1881
  type: z7.literal("document"),
1882
- title: z7.string(),
1882
+ title: z7.string().nullable(),
1883
1883
  citations: z7.object({ enabled: z7.boolean() }).optional(),
1884
1884
  source: z7.object({
1885
1885
  type: z7.literal("text"),
@@ -1989,7 +1989,7 @@ var anthropicMessagesChunkSchema = z7.discriminatedUnion("type", [
1989
1989
  retrieved_at: z7.string(),
1990
1990
  content: z7.object({
1991
1991
  type: z7.literal("document"),
1992
- title: z7.string(),
1992
+ title: z7.string().nullable(),
1993
1993
  citations: z7.object({ enabled: z7.boolean() }).optional(),
1994
1994
  source: z7.object({
1995
1995
  type: z7.literal("text"),