From 46cc219b58e0c6010f111d4b9f0c608b8f8ce655 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Mon, 16 Feb 2026 05:17:49 +0000 Subject: [PATCH] Update refine prompt and add crop padding to remove border artifacts --- src/service/extraction.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/service/extraction.test.ts b/src/service/extraction.test.ts index 28adec3..0c3160a 100644 --- a/src/service/extraction.test.ts +++ b/src/service/extraction.test.ts @@ -21,7 +21,7 @@ mock.module('./ai', () => ({ })) // Create a spy for the extract method to verify dimensions -const extractMock = mock((options: any) => ({ +const extractMock = mock(() => ({ toBuffer: () => Promise.resolve(Buffer.from('mockCrop')), }))