Skip to content

fix(auto): use codex exec for quota probing#2

Open
SHAREN wants to merge 2 commits into
odrobnik:mainfrom
SHAREN:fix/issue-1-codex-exec
Open

fix(auto): use codex exec for quota probing#2
SHAREN wants to merge 2 commits into
odrobnik:mainfrom
SHAREN:fix/issue-1-codex-exec

Conversation

@SHAREN

@SHAREN SHAREN commented Feb 26, 2026

Copy link
Copy Markdown

Fixes #1

Current Codex CLI versions use -p/--profile, so codex -p "PING" fails when probing quota in auto mode.

This patch updates the probe command in _get_quota_for_account() to:

codex exec "PING"

This restores non-interactive execution and allows quota extraction from fresh session logs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

codex-account-switcher auto uses deprecated Codex CLI syntax: codex -p "PING" breaks on codex-cli 0.105.0

1 participant