Skip to content

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

fix: import MAX_MAP_LIMIT from types.ts to resolve 1000 URL cap (#2333)

prashu0705c399eccc38d4
diff --git a/apps/api/src/lib/map-utils.ts b/apps/api/src/lib/map-utils.ts
index dbef33a44..c6816c694 100644
--- a/apps/api/src/lib/map-utils.ts
+++ b/apps/api/src/lib/map-utils.ts
@@ -4,6 +4,7 @@ import {
MapDocument,
scrapeOptions,
ScrapeOptions,
+ MAX_MAP_LIMIT,
} from "../controllers/v2/types";
import { crawlToCrawler, StoredCrawl } from "./crawl-redis";
import {
@@ -23,7 +24,6 @@ import { Logger } from "winston";
// Max Links that "Smart /map" can return
const MAX_FIRE_ENGINE_RESULTS = 500;
-const MAX_MAP_LIMIT = 1000;
export interface MapResult {
success: boolean;