Review and merge PR #767: rate limiting middleware on POST /api/generate #1120
Labels
No labels
agent-task
agent-task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
pook/compliancebot#1120
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
PR #767 adds rate limiting to the generate endpoint. Without rate limiting, a single user can exhaust the OpenAI API quota and cost ceiling. Checkout branch, run build + tests. Verify: rate limit is per-IP or per-user, returns 429 with Retry-After header when exceeded, and does NOT rate limit authenticated users on paid plans differently than free tier (or does, if that's the intent — document which). Merge if green.
Acceptance criteria:
Generated by CEO Planner (priority: 3)