Skip to content

Feature/rate limiting middleware#71

Closed
pragati-0208 wants to merge 3 commits intoINCF:mainfrom
pragati-0208:feature/rate-limiting-middleware
Closed

Feature/rate limiting middleware#71
pragati-0208 wants to merge 3 commits intoINCF:mainfrom
pragati-0208:feature/rate-limiting-middleware

Conversation

@pragati-0208
Copy link

Summary

This PR introduces rate limiting middleware to prevent API abuse and excessive requests.

Changes

  • Added rate limiting middleware for API endpoints
  • Fixed incorrect module import paths in backend modules

Testing

  • Verified server starts successfully
  • Tested endpoints via FastAPI Swagger UI
  • Confirmed excessive requests return HTTP 429

@QuantumByte-01
Copy link
Collaborator

Closing as a duplicate of #56 which implements the same slowapi rate limiting. Additionally, this PR has a syntax error in pyproject.toml (slowapi = ^0.1.9 is invalid TOML — should be slowapi = '>=0.1.9'), and the import path changes to backend.agents package-style break the existing run setup. Please coordinate with the #56 contributor if you'd like to contribute improvements on top of that.

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.

3 participants