Skip to content

# Rate Limiting Feature Release

Choose a tag to compare

@chattermate chattermate released this 16 Mar 16:43
· 452 commits to main since this release
597eecd

New Feature: Agent-Level Rate Limiting

We're excited to announce the addition of rate limiting capabilities to ChatterMate agents. This feature allows administrators to control traffic and protect their agents from potential abuse.

Key Features

  • Per-Agent Configuration: Enable or disable rate limiting on a per-agent basis
  • Daily Request Limits: Set maximum number of requests allowed per IP address (10-1000)
  • Rate Control: Configure requests per second (1-10) to manage traffic flow
  • User-Friendly Interface: Intuitive sliders with real-time feedback
  • Immediate Toggle: Quick enable/disable with visual feedback
  • Save Button: Make multiple slider adjustments before saving

Technical Details

  • Rate limiting is disabled by default for all agents
  • Default values when enabled:
    • 100 requests per IP address
    • 1 request per second
  • Database schema updated to support new rate limiting fields
  • Frontend interface added to Agent Advanced Settings tab

API Changes

The Agent model and API responses now include three new fields:

  • enable_rate_limiting (boolean)
  • overall_limit_per_ip (integer)
  • requests_per_sec (integer)

Coming Soon

  • Rate limiting analytics and reporting
  • Custom rate limiting rules for different user groups
  • Time-based rate limiting patterns