@ai-sdk/xai
Advanced tools
+1
-1
| { | ||
| "name": "@ai-sdk/xai", | ||
| "version": "4.0.0", | ||
| "version": "4.0.1", | ||
| "type": "module", | ||
@@ -5,0 +5,0 @@ "license": "Apache-2.0", |
@@ -10,8 +10,6 @@ import { | ||
| zodSchema( | ||
| z | ||
| .object({ | ||
| teamId: z.string().optional(), | ||
| filePath: z.string().optional(), | ||
| }) | ||
| .passthrough(), | ||
| z.looseObject({ | ||
| teamId: z.string().optional(), | ||
| filePath: z.string().optional(), | ||
| }), | ||
| ), | ||
@@ -18,0 +16,0 @@ ); |
@@ -132,10 +132,8 @@ import { lazySchema, zodSchema } from '@ai-sdk/provider-utils'; | ||
| const runtimeSchema = z | ||
| .object({ | ||
| mode: modeSchema.optional(), | ||
| videoUrl: nonEmptyStringSchema.optional(), | ||
| referenceImageUrls: z.array(nonEmptyStringSchema).min(1).max(7).optional(), | ||
| ...baseFields, | ||
| }) | ||
| .passthrough(); | ||
| const runtimeSchema = z.looseObject({ | ||
| mode: modeSchema.optional(), | ||
| videoUrl: nonEmptyStringSchema.optional(), | ||
| referenceImageUrls: z.array(nonEmptyStringSchema).min(1).max(7).optional(), | ||
| ...baseFields, | ||
| }); | ||
@@ -142,0 +140,0 @@ export type XaiParsedVideoModelOptions = z.infer<typeof runtimeSchema>; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
712045
-0.01%10244
-0.04%