Function: getRateLimitBannerSeverity()
getRateLimitBannerSeverity(
info,thresholds?):"critical"|"warning"|"none"
Defined in: packages/agentos/src/types/rateLimitTypes.ts:89
Determine banner severity based on remaining percentage and thresholds.
Parameters
info
Rate limit information
thresholds?
RateLimitBannerThresholds = DEFAULT_RATE_LIMIT_BANNER_THRESHOLDS
Banner threshold configuration (optional, uses defaults)
Returns
"critical" | "warning" | "none"
'none' | 'warning' | 'critical'