mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-14 01:15:52 +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;
|
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);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user