Skip to main content

parse_codex_status

Function parse_codex_status 

Source
pub fn parse_codex_status(screen: &str, now_ms: u64) -> Option<ProviderLimits>
Expand description

Parse a codex /status screen: the 5h limit / Weekly limit lines (N% used, or N% left), and the reset in parentheses. Nothing else on the screen is kept (it also shows the account’s email). None when it shows no limit line.