diff --git a/src/shared/api-schemas/anthropic.ts b/src/shared/api-schemas/anthropic.ts index 693f6f7..aa077f3 100644 --- a/src/shared/api-schemas/anthropic.ts +++ b/src/shared/api-schemas/anthropic.ts @@ -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(), })