[Feature]: Explicit Codex account namespace binding for failover combo targets
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 40/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- typescript
Research direction
The CLI target schema is in src/cli/combo-input.ts; start there to see where a combo target is validated, then the target type in src/combos/types.ts and the config shape in src/types/config.ts. Namespace resolution already exists in src/routing/router.ts — read how codexAccountNamespaces maps a name to an account and mirror it as a target-level binding. Done means a combo target can name the second account of the same model, quota failover selects it, usage identifies the served account, and existing physical-provider combos still validate.
Written by the indexing model from the issue text.
Description
Goal / problem
Combos in 2.100.2 cannot explicitly target a Codex account namespace, although the same namespace works as a direct routed model.
For example, with two existing ChatGPT accounts and codexAccountNamespaces mapping openai-team to the second account, direct openai-team/<model> routes correctly. A failover combo cannot represent both accounts of the same model:
target.provider = "openai-team"fails validation because this namespace is not a physical key inconfig.providers.target.provider = "openai"has no supported account-binding field. Repeating that provider/model is a duplicate, not an explicit second account.- The CLI target-file schema rejects an
accountReffield, and target normalization does not preserve one.
Source locations: src/cli/combo-input.ts, src/combos/types.ts, src/types/config.ts; namespace resolution already exists in src/routing/router.ts.
Expected behaviour
Please support an explicit, validated account binding for combo targets, or resolve an existing account namespace as a target. Preserve the account through selection, upstream routing, usage attribution and account-scoped cooldown. Missing or exhausted bindings should follow the existing failover contract without silently using the default account.
Acceptance: two existing accounts of the same model remain independently addressable; a quota failure in the first can select the specified second account; usage identifies the served account; existing physical-provider combos remain compatible. No new login, account merging or default-account change should be required.
This request is based on source inspection. No credentials, account identifiers or private configuration are included.
- Dominant language
- TypeScript
- Stars
- 16.9k
- Forks
- 1.3k
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 814
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from lidge-jun/opencodex
-
bug gui platform
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
lidge-jun/opencodex#9172 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
[Feature]: Include provider, model and account label in the `upstream failure` service.log linePossibly taken @EnesKartal claimed this 4 days ago. Openenhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
lidge-jun/opencodex#9057 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
[Provider] antigravity-acp catalog omits gemini-4-hydrogen and gemini-4-neon that agy acp offersPossibly taken @sedoll claimed this 6 days ago. Opencatalog provider provider-compatibility
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
lidge-jun/opencodex#9037 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
bug cli
Difficulty 4/5 3-5 days Newbie friendliness 52/100
lidge-jun/opencodex#9171 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
account-pool enhancement
Difficulty 5/5 Over a week Newbie friendliness 35/100
Maintainers usually reply within 1 day
All issues in lidge-jun/opencodex
Similar issues
-
triage
Difficulty 1/5 Under an hour Newbie friendliness 64/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
ranxianglei/billion-context#7860 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
-
agent-oc-find-bugs api complexity → simple payment-methods recurring contributions reviewed stripe
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
opencollective/opencollective#9177 ·