Skip to main content

parse_codex_login

Function parse_codex_login 

Source
pub fn parse_codex_login(text: &str) -> Option<String>
Expand description

codex login status: “Logged in using ChatGPT”, “Logged in using an API key - …”, “Not logged in”. Only the kind is taken; the rest of the line is never kept.