mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-12 19:39:16 +08:00
remove agent preview rate limiter
This commit is contained in:
parent
06770bc63f
commit
f844b329f1
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user