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
more logs
Gergő Móricz00cc73397258
diff --git a/apps/api/src/routes/v1.ts b/apps/api/src/routes/v1.tsindex b17a7870d..d7cc07a13 100644--- a/apps/api/src/routes/v1.ts+++ b/apps/api/src/routes/v1.ts@@ -92,6 +92,7 @@ function checkCreditsMiddleware(export function authMiddleware(rateLimiterMode: RateLimiterMode,): (req: RequestWithMaybeAuth, res: Response, next: NextFunction) => void {+ const middlewareSpawn = new Error().stack;return (req, res, next) => {(async () => {if (rateLimiterMode === RateLimiterMode.Extract && isAgentExtractModelValid((req.body as any)?.agent?.model)) {@@ -107,7 +108,8 @@ export function authMiddleware(modes: {extract: RateLimiterMode.Extract,extractAgentPreview: RateLimiterMode.ExtractAgentPreview,- }+ },+ middlewareSpawn,});}