Skip to content

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

Update scrape.ts

Nicolas575ddc9e6e86
diff --git a/apps/api/src/controllers/scrape.ts b/apps/api/src/controllers/scrape.ts
index 4870925f1..97d3d489a 100644
--- a/apps/api/src/controllers/scrape.ts
+++ b/apps/api/src/controllers/scrape.ts
@@ -146,6 +146,7 @@ export async function scrapeController(req: Request, res: Response) {
const creditsPerLLMExtract = 50;
if (extractorOptions.mode.includes("llm-extraction")) {
+ // creditsToBeBilled = creditsToBeBilled + (creditsPerLLMExtract * filteredDocs.length);
creditsToBeBilled += creditsPerLLMExtract;
}