Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

feat(web): add docs Ask AI rate limit identifier

Richie McIlroy1fccb321c9de
diff --git a/apps/web/lib/rate-limit.ts b/apps/web/lib/rate-limit.ts
index 7cf6ca16a..252f63f72 100644
--- a/apps/web/lib/rate-limit.ts
+++ b/apps/web/lib/rate-limit.ts
@@ -77,4 +77,6 @@ export const RATE_LIMIT_IDS = {
GUEST_CHECKOUT: "rl_guest_checkout",
/** Unauthed desktop log → Discord forwarding (spam). Suggested: 10 / 1m per IP. */
DESKTOP_LOGS: "rl_desktop_logs",
+ /** Unauthed docs Ask AI questions (Anthropic cost). Suggested: 10 / 1m per IP. */
+ DOCS_ASK: "rl_docs_ask",
} as const;