Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥
TypeScript aiai-agentsai-crawlerai-scrapingai-searchcrawlerdata-extractionhtml-to-markdownllmmarkdownscraperscrapingweb-crawlerweb-dataweb-data-extractionweb-scraperweb-scrapingweb-searchwebscraping
feat(api/v1/authMiddleware): add log to debug extract agent preview mode
Gergő Móricz2e863da334f9
diff --git a/apps/api/src/routes/v1.ts b/apps/api/src/routes/v1.tsindex 781ed6af0..c2a167e0d 100644--- a/apps/api/src/routes/v1.ts+++ b/apps/api/src/routes/v1.ts@@ -95,6 +95,10 @@ export function authMiddleware(return (req, res, next) => {(async () => {if (rateLimiterMode === RateLimiterMode.Extract && isAgentExtractModelValid((req.body as any)?.agent?.model)) {+ logger.debug("Picking extract agent preview mode", {+ body: req.body,+ model: (req.body as any)?.agent?.model,+ });rateLimiterMode = RateLimiterMode.ExtractAgentPreview;}