ai_lib/rate_limiter/mod.rs
1//! Rate limiting and backpressure control for AI API calls
2//!
3//! This module provides rate limiting functionality to prevent overwhelming
4//! AI providers and implement backpressure mechanisms.
5
6pub mod backpressure;
7pub mod config;
8pub mod token_bucket;
9
10pub use backpressure::{BackpressureController, BackpressurePermit};
11pub use config::RateLimiterConfig;
12pub use token_bucket::TokenBucket;