From 8a2e91e7028100594234994b2513a3ee71d1a727 Mon Sep 17 00:00:00 2001 From: florianfederspiel Date: Fri, 2 Jan 2026 14:34:53 +0100 Subject: [PATCH] TS Fix --- src/utils/gpt.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/gpt.ts b/src/utils/gpt.ts index d46a4f1..ec804ce 100644 --- a/src/utils/gpt.ts +++ b/src/utils/gpt.ts @@ -179,7 +179,7 @@ export const getInvoiceDataFromGPT = async function ( const completion = await openai.chat.completions.parse({ model: "gpt-4o", store: true, - response_format: zodResponseFormat(InstructionFormat, "instruction"), + response_format: zodResponseFormat(InstructionFormat as any, "instruction"), messages: [ { role: "user", content: extractedText }, {