Skip to content

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

Nick:

Nicolas19cac2220f20
diff --git a/apps/api/src/services/queue-worker.ts b/apps/api/src/services/queue-worker.ts
index 1ea4775ad..1369326d4 100644
--- a/apps/api/src/services/queue-worker.ts
+++ b/apps/api/src/services/queue-worker.ts
@@ -353,7 +353,7 @@ async function processJob(job: Job, token: string) {
docs: docs,
time_taken: timeTakenInSeconds,
team_id: job.data.team_id,
- mode: job.data.mode,
+ mode: job.data.crawlerOptions === null ? "batch_scrape" : job.data.mode,
url: job.data.url,
crawlerOptions: job.data.crawlerOptions,
pageOptions: job.data.pageOptions,
diff --git a/apps/js-sdk/package.json b/apps/js-sdk/package.json
index 6324707f9..1992de80f 100644
--- a/apps/js-sdk/package.json
+++ b/apps/js-sdk/package.json
@@ -11,7 +11,7 @@
"author": "",
"license": "ISC",
"dependencies": {
- "@mendable/firecrawl-js": "1.7.0-beta.2",
+ "@mendable/firecrawl-js": "1.7.1",
"axios": "^1.6.8",
"firecrawl": "^1.2.0",
"ts-node": "^10.9.2",