Skip to content

feat: add per-user rate limiting to /chat and /chat/stream endpoints#52

Merged
sholgaat merged 1 commit into
mainfrom
claude/gh-issues-no-db-migrations-ejbvth
Jun 22, 2026
Merged

feat: add per-user rate limiting to /chat and /chat/stream endpoints#52
sholgaat merged 1 commit into
mainfrom
claude/gh-issues-no-db-migrations-ejbvth

Conversation

@sholgaat

Copy link
Copy Markdown
Owner

Adds slowapi middleware with a 20 req/min limit on both chat endpoints,
keyed by authenticated user ID (falls back to client IP for unauthenticated
requests). Returns a 429 with Retry-After header when the limit is exceeded.

Closes #36

Adds slowapi middleware with a 20 req/min limit on both chat endpoints,
keyed by authenticated user ID (falls back to client IP for unauthenticated
requests). Returns a 429 with Retry-After header when the limit is exceeded.

Closes #36
@vercel

vercel Bot commented Jun 22, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
travel-bro Ready Ready Preview, Comment Jun 22, 2026 8:35am

@sholgaat
sholgaat merged commit dd4bd45 into main Jun 22, 2026
4 checks passed
@sholgaat
sholgaat deleted the claude/gh-issues-no-db-migrations-ejbvth branch July 10, 2026 22:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: rate limiting on /chat endpoint

2 participants