Repository navigation
fix(openai): show active API-key accounts in quota sidebar - #311
Merged
slkiser merged 7 commits intoOct 6, 2026
Merged
Conversation
vmvarela
marked this pull request as ready for review
October 3, 2026 10:42
Keep active OpenAI accounts first and preserve the remaining credential order in mixed-account output. Keep full account headers on untimed status rows and do not reserve unused reset-column space. Number unnamed API-key accounts using the existing account-name convention so their headers stay distinct. Clarify that ChatGPT quota requires OAuth and stored API keys show quota unavailable without a ChatGPT request.
…mes unique - When an OpenAI API key and a Codex OAuth login are both active, list the active account of the session's own integration first, so a narrow compact line keeps the quota the session actually uses. - Numbered names for unnamed API-key accounts skip numbers that an explicit account name already uses, so two accounts never share one header. Known limitation: with quotaProjection "runway", a narrow compact line can still prefer a runway row over the active API-key status; fixing that needs account priority in the compact renderer.
…on is unknown Without onlyCurrentModel the session's provider is not known. Among active logins, an OAuth login with quota numbers now goes before an API-key status, as before API keys were listed, so a narrow compact line keeps the quota.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Verification
pnpm verify(2,617 tests passed, 1 skipped; build and package contents verified).distsidebar output with a synthetic status row in both styles; no shared service restart performed.Closes #310