From c6482eaf2d98ca0f002fb0830440c7dde4fb171a Mon Sep 17 00:00:00 2001 From: Nicolas Date: Fri, 13 Jun 2025 18:17:17 -0300 Subject: [PATCH] Nick: prevent additional logging on /extract scrapes --- apps/api/src/lib/extract/document-scraper.ts | 1 + apps/api/src/lib/extract/fire-0/document-scraper-f0.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/apps/api/src/lib/extract/document-scraper.ts b/apps/api/src/lib/extract/document-scraper.ts index f06a8b25..ec603e32 100644 --- a/apps/api/src/lib/extract/document-scraper.ts +++ b/apps/api/src/lib/extract/document-scraper.ts @@ -48,6 +48,7 @@ export async function scrapeDocument( useCache: true, teamId: options.teamId, saveScrapeResultToGCS: process.env.GCS_FIRE_ENGINE_BUCKET_NAME ? true : false, + bypassBilling: true, }, origin: options.origin, is_scrape: true, diff --git a/apps/api/src/lib/extract/fire-0/document-scraper-f0.ts b/apps/api/src/lib/extract/fire-0/document-scraper-f0.ts index f81bb8dd..a502a736 100644 --- a/apps/api/src/lib/extract/fire-0/document-scraper-f0.ts +++ b/apps/api/src/lib/extract/fire-0/document-scraper-f0.ts @@ -46,6 +46,7 @@ export async function scrapeDocument_F0( internalOptions: { useCache: true, teamId: options.teamId, + bypassBilling: true, }, origin: options.origin, is_scrape: true,