fix: Bug: Zod Schema Incompatible with OpenAI Structured Outputs API (#3462)

This commit is contained in:
Aditya Paul
2026-03-21 19:48:31 +05:30
committed by GitHub
parent 06c25eb00b
commit c39d5ada4d
+1
View File
@@ -31,6 +31,7 @@ export const MemoryUpdateSchema = z.object({
old_memory: z old_memory: z
.string() .string()
.optional() .optional()
.nullable()
.describe( .describe(
"The previous content of the memory item if the event was UPDATE.", "The previous content of the memory item if the event was UPDATE.",
), ),