Structs§
Constants§
Functions§
- codex_
auth_ file_ has_ access_ token - codex_
config_ default_ openai_ base_ url - default_
codex_ auth_ path - default_
codex_ config_ path - default_
qwen_ oauth_ creds_ path - is_
openai_ codex_ provider - is_
qwen_ portal_ provider - openai_
codex_ auth_ for_ request - The Codex credentials for one request. Reads the auth file every time, so
a token refreshed by the Codex CLI is picked up too, and refreshes the
OAuth token first when it is about to expire or
rejected(the token the server just turned down) is still the current one. Refresh errors are logged, not returned: the current token is still worth a try.OPENAI_CODEX_ACCESS_TOKENis used as is and never refreshed. - provider_
allows_ empty_ api_ key - qwen_
oauth_ file_ has_ access_ token - refresh_
openai_ codex_ auth_ if_ needed - Refreshes an expired Codex access token in
~/.codex/auth.json. - resolve_
openai_ codex_ auth - resolve_
qwen_ portal_ auth