remove agent preview rate limiter
This commit is contained in:
@@ -98,9 +98,9 @@ export function authMiddleware(
|
|||||||
rateLimiterMode = RateLimiterMode.ExtractAgentPreview;
|
rateLimiterMode = RateLimiterMode.ExtractAgentPreview;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (rateLimiterMode === RateLimiterMode.Scrape && isAgentExtractModelValid((req.body as any)?.agent?.model)) {
|
// if (rateLimiterMode === RateLimiterMode.Scrape && isAgentExtractModelValid((req.body as any)?.agent?.model)) {
|
||||||
rateLimiterMode = RateLimiterMode.ScrapeAgentPreview;
|
// rateLimiterMode = RateLimiterMode.ScrapeAgentPreview;
|
||||||
}
|
// }
|
||||||
|
|
||||||
const auth = await authenticateUser(req, res, rateLimiterMode);
|
const auth = await authenticateUser(req, res, rateLimiterMode);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user