Skip to content

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

more log

Gergő Móricz6776292cc242
diff --git a/apps/api/src/routes/v1.ts b/apps/api/src/routes/v1.ts
index c2a167e0d..71e94d063 100644
--- a/apps/api/src/routes/v1.ts
+++ b/apps/api/src/routes/v1.ts
@@ -100,6 +100,10 @@ export function authMiddleware(
model: (req.body as any)?.agent?.model,
});
rateLimiterMode = RateLimiterMode.ExtractAgentPreview;
+ } else if (rateLimiterMode === RateLimiterMode.ExtractAgentPreview) {
+ logger.warn("EAP passed into authMiddleware directly?", {
+ body: req.body,
+ });
}
// if (rateLimiterMode === RateLimiterMode.Scrape && isAgentExtractModelValid((req.body as any)?.agent?.model)) {