Repository navigation
Description
Area
Catalog / models
What are you trying to accomplish?
Keep a curated model picker while automatically admitting future releases from selected providers. I want to hide models I do not use today without having to manually select each new release afterward. This applies to paid and free models, not just free-model filtering.
What prevents this today?
With a non-empty providers.<name>.selectedModels, newly discovered models outside that selection stay hidden even when the effective new-model policy is on.
I initially understood "New models: on" to mean that future arrivals would appear while my existing exclusions stayed excluded. The current implementation deliberately gives the saved selection priority instead. This proposal does not treat that existing contract as a runtime defect.
The arrival status is also confusing: GET /api/model-discovery calculates enabled from disabledModels, so an arrival can be reported as enabled while the selection filter excludes it from the picker.
What should OpenCodex do?
Offer an explicit opt-in way to admit future arrivals alongside an existing curated selection:
- Preserve current behavior for existing configurations unless the user opts in.
- Keep existing selected models and exclusions intact when opting in. Do not restore old unselected models.
- Automatically admit genuinely new model IDs discovered after the opt-in baseline, whether paid or free.
- Respect explicit model disables, including models the user hides after automatic admission. Repeated refreshes must not re-enable them.
- Handle missing discovery baselines without treating the entire existing provider catalog as new.
Include a UX clarification for the same interaction: explain that the current new-model policy does not override fixed selections, and distinguish an arrival that is visible in the picker from one excluded by the selection or explicitly disabled. An unqualified "enabled" status should not imply picker visibility when that is not true.
The exact interface can follow the project's preferred design, whether an additional policy mode or a separate opt-in. Changing the meaning of existing on settings globally would risk widening other users' curated pickers and is not requested.
Example usage or interface
I use ChatGPT models through OpenCodex. I keep GPT-6.1 Sol in the picker and hide older models like GPT-5.5 and GPT-5.4 to avoid clutter.
When ChatGPT releases GPT-6.2 Astra, I want it to appear automatically, while GPT-5.5 and GPT-5.4 stay hidden.
Alternatives or workarounds
- Manually add each new release to
selectedModels. This works but requires ongoing maintenance. - Clear the selection and individually disable every unwanted existing model. This changes how an existing curated list is represented and should not be necessary for this workflow.
- Change the existing
onsemantics for everyone. This could silently broaden saved selections, so an explicit opt-in is preferable.
Additional context
Observed with OpenCodex 2.97.0. Current upstream main and dev retain the selection-priority behavior.
- Feature: newly discovered provider models should arrive disabled (off) by default #2464 explicitly specifies a no-op for non-empty selections.
- Merged implementation feat(models): newly discovered provider models arrive disabled (#2464) #2609 describes preset mode as a deliberate, tested no-op.
src/providers/new-model-policy.tspreserves that decision, andtests/providers/new-model-policy.test.tscovers it.src/codex/catalog/model-visibility.tsindependently enforces selection membership.src/server/management/model-routes.tsreports arrival enablement based on the disabled list rather than final picker visibility.
The wording/status clarification could be addressed independently if the automatic-admission enhancement is not accepted. This issue is a proposal for discussion, not a request to change existing defaults.
Checks
- I searched existing issues and documentation.
- This request describes a concrete OpenCodex workflow rather than merely naming a desired technology.
- I removed secrets and personal data.
Activity
github-actions commentedon Nov 6, 2026
Automated translation bookkeeping — detected language: English.
Ingwannu commentedon Nov 7, 2026
Thanks, this is a clear proposal, and current
dev(aaa3c20f3f) behaves as you describe:applyNewModelPolicynever disables arrivals for a provider with a non-empty selection (src/providers/new-model-policy.ts:109). It doesn't admit them either, becausefilterCatalogVisibleModelskeeps only selected ids (src/codex/catalog/model-visibility.ts:279).GET /api/model-discoverymarks an arrivalenabledunless its slug is indisabledModels(src/server/management/model-routes.ts:224). It ignores the selection, and it reports any disabled arrival asauto-disabled, even when the user disabled it.Scope:
not-selectedordisabled.Notes for that discussion:
new-model-policy.ts:67-72). An id is "new" only once: it then stays inknownModels, or inremovedafter it disappears. So the smallest version is probably a third policy value that appendsnewIdstoselectedModelswhen they arrive. If you later remove one from the selection, it stays removed without a separate exclusion list.new-model-policy.ts:107-108says preset mode owns which flagships arrive enabled. The design needs to say whether the opt-in applies to preset-derived selections or only to custom ones.effectiveNewModelPolicy(:116) resolves the provider-level setting before the global one. A new value should follow the same order.No commitment to implement yet.
lidge-jun commentedon Nov 10, 2026
Two parts, as the triage comment noted. Both change contracts, so they go to the owner rather than into a fix lane.
GET /api/model-discoveryandocx models new-arrivalsreportenabled/auto-disabledwithout looking at the selection, so an arrival hidden byselectedModelsreadsenabled, and a user-disabled one readsauto-disabled. A correct status needs new state values (for examplenot-selectedanddisabled). That widens a value set the CLI and API already publish, anddisabledvsauto-disabledalso needs the policy to record which arrivals it disabled (it does not today).newModelPolicyvalue (for exampleadmit) that appendsnewIdstoselectedModelson arrival. It would follow the existing provider→global precedence (effectiveNewModelPolicy), and the existing "new only once" bookkeeping keeps a later deselect from being undone. One open question: whether it applies to preset-derived selections, given the comment atnew-model-policy.ts:107-108.Options: (a) status only, (b) admission only, (c) both. Recommendation: (c), with
admitlimited to custom selections and the status values added rather than redefined, soenabledkeeps meaning "visible in the picker".lidge-jun commentedon Nov 10, 2026
Decision (coordinator, 11-11): fix the arrival status values, and add an opt-in
admitnew-model policy that applies only to custom selections. The default behavior does not change. Implementation follows in a PR for this issue.pr-assets: new-model policy Admit control (#8236)
fix(catalog): adopt admitted selections live and match arrival state …
feat(catalog): opt-in admit policy for curated selections and honest …