Skip to content

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

fix(crawl-status): isCancelled should be status failed

Gergo Moriczd7d63790e501
diff --git a/apps/api/src/controllers/crawl-status.ts b/apps/api/src/controllers/crawl-status.ts
index 13ea20c49..35dd4d38f 100644
--- a/apps/api/src/controllers/crawl-status.ts
+++ b/apps/api/src/controllers/crawl-status.ts
@@ -25,7 +25,9 @@ export async function crawlStatusController(req: Request, res: Response) {
if (isCancelled) {
return res.json({
- status: "cancelled",
+ status: "failed",
+ docs: null,
+ partialDocs: [],
});
}