Skip to content

[Bug]: Combo silently omitted from model catalog when a member lacks capability metadata — no GUI/CLI warning #484

Closed

Description

@a1980881039

Version: v2.7.40 (Windows 11, service mode)

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

  1. Add a relay provider whose live /models returns only model ids without metadata (common for OpenAI-compatible relays).
  2. Create a failover combo targeting one of its models plus a fully-registered model.
  3. Run ocx sync (exits successfully, no warning) and restart Codex.
  4. 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.

Activity

  1. added
    bug
    on Jul 26, 2026
  2. github-actions commented on Jul 26, 2026

    @github-actions
    Contributor

    Maintainer decision respected

    A maintainer has reopened this issue. The automated closure has been deactivated.

  3. github-actions commented on Jul 26, 2026

    @github-actions
    Contributor
  4. a1980881039 commented on Jul 26, 2026

    @a1980881039
    Author

    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.

  5. Wibias commented on Jul 26, 2026

    @Wibias
    Contributor

    Reopening: the issue body is detailed enough to evaluate. Auto-closed earlier by the quality bot before triage.

  6. reopened this on Jul 26, 2026
  7. Wibias commented on Jul 26, 2026

    @Wibias
    Contributor

    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 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)

    1. Collect omission warnings into sync results and print them from ocx sync / return them from /api/sync.
    2. GUI health indicator in the combo editor when a member lacks catalog capabilities.
    3. Document that all combo targets need discoverable context windows (and compatible modalities) to appear in /v1/models / Codex catalog.

    Leaving fail-closed catalog derivation as-is unless product wants softer behavior. Related paper-cut list: #488 item 4.

  8. Wibias commented on Jul 26, 2026

    @Wibias
    Contributor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions