Structs§
Enums§
Functions§
- check_
and_ record - Check if a tool call is within rate limits and record it. Returns Ok(()) if allowed, Err(RateError::Exceeded) if rate limited.
- parse_
rate_ config - Parse rate claims from JWT AtiNamespace.rate HashMap. Format: {“tool:github:”: “10/hour”, “tool:”: “100/hour”}
- parse_
rate_ spec - Parse a rate spec like “10/hour” into a RateLimit.