Skip to content

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

default timeout

Gergő Móricz7787a58bebba
diff --git a/apps/api/src/lib/extract/extraction-service.ts b/apps/api/src/lib/extract/extraction-service.ts
index ae4980618..c8f8271f1 100644
--- a/apps/api/src/lib/extract/extraction-service.ts
+++ b/apps/api/src/lib/extract/extraction-service.ts
@@ -377,6 +377,7 @@ export async function performExtraction(
isMultiEntity: true,
}),
{
+ timeout: 300000,
...request.scrapeOptions,
// Needs to be true for multi-entity to work properly
@@ -703,7 +704,10 @@ export async function performExtraction(
url,
isMultiEntity: false,
}),
- request.scrapeOptions,
+ {
+ timeout: 300000,
+ ...request.scrapeOptions,
+ },
);
}
return docsMap.get(normalizeUrl(url));