Skip to content

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

remove agent preview rate limiter

Gergő Móriczf844b329f163
diff --git a/apps/api/src/routes/v1.ts b/apps/api/src/routes/v1.ts
index c53f55a73..185a70deb 100644
--- a/apps/api/src/routes/v1.ts
+++ b/apps/api/src/routes/v1.ts
@@ -98,9 +98,9 @@ export function authMiddleware(
rateLimiterMode = RateLimiterMode.ExtractAgentPreview;
}
- if (rateLimiterMode === RateLimiterMode.Scrape && isAgentExtractModelValid((req.body as any)?.agent?.model)) {
- rateLimiterMode = RateLimiterMode.ScrapeAgentPreview;
- }
+ // if (rateLimiterMode === RateLimiterMode.Scrape && isAgentExtractModelValid((req.body as any)?.agent?.model)) {
+ // rateLimiterMode = RateLimiterMode.ScrapeAgentPreview;
+ // }
const auth = await authenticateUser(req, res, rateLimiterMode);