Skip to content

fix(codex): show account quota windows - #236

Merged
caigee-cmd merged 1 commit into
mainfrom
fix/codex-account-quota
Sep 25, 2026
Merged

caigee-cmd merged 1 commit into
mainfrom
fix/codex-account-quota

Conversation

@caigee-cmd

Copy link
Copy Markdown
Owner

Summary

  • Refresh a Codex account from /wham/usage so the 5-hour and weekly windows appear without spending a chat turn.
  • Do not persist an empty quota snapshot, and show “getting quota” on a signed-in account until a real window arrives.

Test plan

  • go test ./internal/providers/codex ./internal/runtime
  • Refresh a signed-in Codex account and confirm the 5-hour and weekly windows replace “额度不可用”

Refresh uses the Codex usage probe for the 5-hour and weekly windows, and a signed-in account stays on "getting quota" until a real window arrives.
@caigee-cmd
caigee-cmd merged commit 4edd2aa into main Sep 25, 2026
6 checks passed
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.

1 participant