fixes typo in new Claude system prompt schema
This commit is contained in:
parent
5dc4050e52
commit
578615fbd2
|
@ -66,7 +66,7 @@ export const AnthropicV1MessagesSchema = AnthropicV1BaseSchema.merge(
|
|||
system: z
|
||||
.union([
|
||||
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(),
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue