Skip to content

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

feat(concurrency): source FirePDF teamConcurrency payload from Autumn (#4115)

firecrawl-spring[bot]6868e1b5a1cf
diff --git a/apps/api/src/controllers/v2/parse.ts b/apps/api/src/controllers/v2/parse.ts
index 7b9738914..d1ea04034 100644
--- a/apps/api/src/controllers/v2/parse.ts
+++ b/apps/api/src/controllers/v2/parse.ts
@@ -518,7 +518,7 @@ export async function parseController(
zeroDataRetention,
teamFlags: req.acuc?.flags ?? null,
orgId: req.acuc?.org_id ?? null,
- teamConcurrency: req.acuc?.concurrency ?? null,
+ teamConcurrency: baseConcurrency,
uploadedFile: file,
forceEngine,
isParse: true,
diff --git a/apps/api/src/controllers/v2/scrape.ts b/apps/api/src/controllers/v2/scrape.ts
index 32d514da1..21874cf7b 100644
--- a/apps/api/src/controllers/v2/scrape.ts
+++ b/apps/api/src/controllers/v2/scrape.ts
@@ -334,7 +334,7 @@ export async function scrapeController(
zeroDataRetention,
teamFlags: req.acuc?.flags ?? null,
orgId: req.acuc?.org_id ?? null,
- teamConcurrency: req.acuc?.concurrency ?? null,
+ teamConcurrency: baseConcurrency,
agentIndexOnly: (req as any).agentIndexOnly ?? false,
threatProtection: threatProtection.policy ?? undefined,
},