Skip to content

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

Nick:

Nicolas620b02f9ca7d
diff --git a/apps/api/src/controllers/v0/scrape.ts b/apps/api/src/controllers/v0/scrape.ts
index 2a5f1d4f8..c46ebc622 100644
--- a/apps/api/src/controllers/v0/scrape.ts
+++ b/apps/api/src/controllers/v0/scrape.ts
@@ -229,7 +229,7 @@ export async function scrapeController(req: Request, res: Response) {
if (result.success) {
let creditsToBeBilled = 1;
- const creditsPerLLMExtract = 49;
+ const creditsPerLLMExtract = 4;
if (extractorOptions.mode.includes("llm-extraction")) {
// creditsToBeBilled = creditsToBeBilled + (creditsPerLLMExtract * filteredDocs.length);
diff --git a/apps/api/src/controllers/v1/scrape.ts b/apps/api/src/controllers/v1/scrape.ts
index 0835cc2a8..f0744c22b 100644
--- a/apps/api/src/controllers/v1/scrape.ts
+++ b/apps/api/src/controllers/v1/scrape.ts
@@ -103,7 +103,7 @@ export async function scrapeController(
return;
}
if(req.body.extract && req.body.formats.includes("extract")) {
- creditsToBeBilled = 50;
+ creditsToBeBilled = 5;
}
billTeam(req.auth.team_id, creditsToBeBilled).catch(error => {