From d97087ca2c78317bd4a9864b3cc159104b2e773e Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Thu, 8 May 2025 14:26:36 +0100 Subject: [PATCH] chore: make optional --- server/api/webhook.post.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/api/webhook.post.ts b/server/api/webhook.post.ts index b01146e..bd0efd1 100644 --- a/server/api/webhook.post.ts +++ b/server/api/webhook.post.ts @@ -341,8 +341,8 @@ const commentAnalysisSchema = { } const commentAnalysisResponseSchema = z.object({ - containsReproduction: z.boolean().describe('Whether the comment contains a clear reproduction of the issue.'), - reportsIssueReappeared: z.boolean().describe('Whether the comment reports that a resolved issue has reappeared or regressed.'), + containsReproduction: z.boolean().optional(), + reportsIssueReappeared: z.boolean().optional(), }) enum IssueLabel { -- knotmirror 0.0.1