fix: Bug: Zod Schema Incompatible with OpenAI Structured Outputs API (#3462)
This commit is contained in:
@@ -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.",
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user