Skip to content

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

fix(v1): maxDepth

rafaelsideguide036eb925a291
diff --git a/apps/api/src/controllers/v1/types.ts b/apps/api/src/controllers/v1/types.ts
index 4393cd291..85bd625fc 100644
--- a/apps/api/src/controllers/v1/types.ts
+++ b/apps/api/src/controllers/v1/types.ts
@@ -302,7 +302,7 @@ export function legacyCrawlerOptions(x: CrawlerOptions) {
includes: x.includePaths,
excludes: x.excludePaths,
maxCrawledLinks: x.limit,
- maxCrawledDepth: x.maxDepth,
+ maxDepth: x.maxDepth,
limit: x.limit,
generateImgAltText: false,
allowBackwardCrawling: x.allowBackwardLinks,