You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Combo silently omitted from model catalog when a member lacks capability metadata — no GUI/CLI warning #484
Summary
When any combo target model lacks capability metadata (contextWindow / inputModalities / reasoningEfforts), deriveComboCatalogModel returns null and the combo is silently dropped from /v1/models and opencodex-catalog.json. The only trace is a single console.warn in the service log:
[opencodex] Combo "k3k3" is omitted from the catalog because member capabilities are incomplete: kimi/k3[1m], xianyu/kimi-k3.
Repro
Add a relay provider whose live /models returns only model ids without metadata (common for OpenAI-compatible relays).
Create a failover combo targeting one of its models plus a fully-registered model.
Run ocx sync (exits successfully, no warning) and restart Codex.
The combo never appears in Codex /model. Routing still works when the combo alias is requested directly, which makes the omission even more confusing.
Why it hurts
Diagnosing this required reading src/codex/catalog/aggregation.ts and the service log. ocx sync reporting success while the combo is dropped is misleading.
Suggestions
Show a health/warning indicator in the GUI combo editor, e.g. "member xianyu/kimi-k3 is missing capability metadata — combo will not appear in the catalog".
Print the omission warning in ocx sync output, not only the service log.
Mention the completeness requirement in the combo docs.
Confirmed on current dev / post-v2.7.41. This is a real UX / discoverability gap, not a routing bug and not fixed since 2.7.40.
What actually happens
deriveComboCatalogModel (src/codex/catalog/aggregation.ts) fail-closes catalog inclusion when members are incomplete — typically missing a positive contextWindow, or an empty inputModalities intersection. Missing reasoningEfforts alone does not drop the combo.
When derivation returns null, gatherRoutedModels calls warnUncataloguedComboOnce, which only emits:
[opencodex] Combo "<id>" is omitted from the catalog because member capabilities are incomplete: ...
That warning is a deduped console.warn. It is not folded into CodexSyncResult.warning. Dashboard POST /api/sync calls syncModelsToCodex(..., null), so GUI sync can look fully successful with no surfaced hint. CLI ocx sync may dump the warn to stderr, but there is no first-class sync warning line.
The GUI combo editor's attention logic only flags empty / few targets — not missing member catalog metadata. Docs also do not state the completeness requirement for catalog listing.
Routing claim: true
Request-time combo routing still reads config.combos directly. An omitted combo can still work when the alias/id is requested explicitly — which is exactly why the silent catalog drop is confusing.
Recommended next work (not started here)
Collect omission warnings into sync results and print them from ocx sync / return them from /api/sync.
GUI health indicator in the combo editor when a member lacks catalog capabilities.
Document that all combo targets need discoverable context windows (and compatible modalities) to appear in /v1/models / Codex catalog.
opencodex now surfaces combo catalog omissions in ocx sync / dashboard sync results and flags them on the Combos page Needs attention list. Docs cover the member capability completeness rule. Fail-closed catalog derivation is unchanged — this is discoverability only.
Activity
github-actions commentedon Jul 26, 2026
Maintainer decision respected
A maintainer has reopened this issue. The automated closure has been deactivated.
github-actions commentedon Jul 26, 2026
a1980881039 commentedon Jul 26, 2026
One more note: if you're busy, I'd be happy to take a stab at this myself and open a PR. Just let me know.
Wibias commentedon Jul 26, 2026
Reopening: the issue body is detailed enough to evaluate. Auto-closed earlier by the quality bot before triage.
Wibias commentedon Jul 26, 2026
Triage
Confirmed on current
dev/ post-v2.7.41. This is a real UX / discoverability gap, not a routing bug and not fixed since 2.7.40.What actually happens
deriveComboCatalogModel(src/codex/catalog/aggregation.ts) fail-closes catalog inclusion when members are incomplete — typically missing a positivecontextWindow, or an emptyinputModalitiesintersection. MissingreasoningEffortsalone does not drop the combo.When derivation returns null,
gatherRoutedModelscallswarnUncataloguedComboOnce, which only emits:That warning is a deduped
console.warn. It is not folded intoCodexSyncResult.warning. DashboardPOST /api/synccallssyncModelsToCodex(..., null), so GUI sync can look fully successful with no surfaced hint. CLIocx syncmay dump the warn to stderr, but there is no first-class sync warning line.The GUI combo editor's attention logic only flags empty / few targets — not missing member catalog metadata. Docs also do not state the completeness requirement for catalog listing.
Routing claim: true
Request-time combo routing still reads
config.combosdirectly. An omitted combo can still work when the alias/id is requested explicitly — which is exactly why the silent catalog drop is confusing.Recommended next work (not started here)
ocx sync/ return them from/api/sync./v1/models/ Codex catalog.Leaving fail-closed catalog derivation as-is unless product wants softer behavior. Related paper-cut list: #488 item 4.
Wibias commentedon Jul 26, 2026
Fix PR: #516
opencodex now surfaces combo catalog omissions in
ocx sync/ dashboard sync results and flags them on the Combos page Needs attention list. Docs cover the member capability completeness rule. Fail-closed catalog derivation is unchanged — this is discoverability only.fix(combos): surface catalog omissions in sync and GUI (#484)
fix(combos): surface catalog omissions in sync and GUI (lidge-jun#484)