fixes typo in new Claude system prompt schema

This commit is contained in:
nai-degen 2024-08-30 10:23:57 -05:00
parent 5dc4050e52
commit 578615fbd2
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ export const AnthropicV1MessagesSchema = AnthropicV1BaseSchema.merge(
system: z system: z
.union([ .union([
z.string(), z.string(),
z.array(z.object({ type: z.literal("string"), text: z.string() })), z.array(z.object({ type: z.literal("text"), text: z.string() })),
]) ])
.optional(), .optional(),
}) })