Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

Nick: prevent additional logging on /extract scrapes

Nicolasc6482eaf2d98
diff --git a/apps/api/src/lib/extract/document-scraper.ts b/apps/api/src/lib/extract/document-scraper.ts
index f06a8b257..ec603e325 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 f81bb8dd9..a502a7367 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,