@openrouter/ai-sdk-provider 1.2.5 → 1.2.6

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.
@@ -1325,7 +1325,7 @@ var OpenRouterNonStreamChatCompletionResponseSchema = z7.union([
1325
1325
  content: z7.array(
1326
1326
  z7.object({
1327
1327
  type: z7.string(),
1328
- text: z7.string()
1328
+ text: z7.string().optional()
1329
1329
  }).passthrough()
1330
1330
  ).optional()
1331
1331
  }).passthrough()
@@ -1408,7 +1408,7 @@ var OpenRouterStreamChatCompletionChunkSchema = z7.union([
1408
1408
  content: z7.array(
1409
1409
  z7.object({
1410
1410
  type: z7.string(),
1411
- text: z7.string()
1411
+ text: z7.string().optional()
1412
1412
  }).passthrough()
1413
1413
  ).optional()
1414
1414
  }).passthrough()