Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

feat(api): bump ACUC to v47 and update browser rate limit fallbacks (#3330)

firecrawl-spring[bot]11490b52b46b
diff --git a/apps/api/src/controllers/auth.ts b/apps/api/src/controllers/auth.ts
index 814a51ed8..da0ee62f1 100644
--- a/apps/api/src/controllers/auth.ts
+++ b/apps/api/src/controllers/auth.ts
@@ -182,7 +182,7 @@ export async function getACUC(
const client =
Math.random() > 2 / 3 ? supabase_rr_service : supabase_service;
({ data, error } = await client.rpc(
- "auth_credit_usage_chunk_46",
+ "auth_credit_usage_chunk_47",
{
input_key: api_key,
i_is_extract: isExtract,
@@ -309,7 +309,7 @@ export async function getACUCTeam(
const client =
Math.random() > 2 / 3 ? supabase_rr_service : supabase_service;
({ data, error } = await client.rpc(
- "auth_credit_usage_chunk_46_from_team",
+ "auth_credit_usage_chunk_47_from_team",
{
input_team: team_id,
i_is_extract: isExtract,
diff --git a/apps/api/src/services/rate-limiter.ts b/apps/api/src/services/rate-limiter.ts
index 4f8724b26..79a49803c 100644
--- a/apps/api/src/services/rate-limiter.ts
+++ b/apps/api/src/services/rate-limiter.ts
@@ -27,8 +27,8 @@ const fallbackRateLimits: AuthCreditUsageChunk["rate_limits"] = {
crawlStatus: 25000,
extractAgentPreview: 10,
scrapeAgentPreview: 10,
- browser: 20,
- browserExecute: 1000,
+ browser: 2,
+ browserExecute: 10,
account: 1000,
};