Repository navigation
feat(model-catalog): lead NVIDIA recommendations with its featured models - #167989
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. What this changesThe hosted model catalog puts NVIDIA’s featured models ahead of OpenClaw’s remaining recommendations in NVIDIA model pickers. Example: A user browses NVIDIA’s recommended models after a catalog refresh.
Review scores
ProductKind: Feature · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this PR contributes useful hosted-catalog behavior that current main lacks, and no actionable correctness or security defect was identified. Priority: P2 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe catalog publisher combines plugin model metadata and public provider feeds into downloadable model catalogs. Existing model pickers consume the catalog’s ordered recommendations while preserving current selections and provider defaults. flowchart TD
A[Plugin model metadata] --> D[Catalog publisher]
B[Provider inventory] --> D
C[NVIDIA featured feed] --> E[Match available model IDs]
D --> E
F[OpenClaw recommendations] --> G[Featured picks then remaining recommendations]
E --> G
G --> H[Hosted catalog and model pickers]
Technical reviewBest possible solution: Keep hosted recommendation publication in the existing catalog generator, with live provider discovery supplying fresher recommendations when available. Do we have a high-confidence way to reproduce the issue? Not applicable as a bug reproduction: global ordering is designed behavior. The supplied live publisher comparison demonstrates the existing order and the proposed result. Is this the best way to solve the issue? Yes: the publisher reuses canonical ID matching, served-row filtering, source loading, and the existing v2 recommendation field without adding a competing picker implementation. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 9449b4e7dc97. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceTests +126, Docs +22, Other +96. Total +244 across 4 files. Added test files: 0. View PR surface stats
Review metrics
LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed October 9, 2026, 6:19 PM ET / 22:19 UTC. |
|
Landed in 73970eb. Hosted catalog v2 now leads a provider's |
…dels (openclaw#167989) ## What Problem This Solves The hosted catalog's recommended models ignore the models a provider itself features, so NVIDIA's own picks show up in OpenClaw's global order (or not at all, like Nemotron 3 Super trailing at the end). ## User Impact Model pickers for NVIDIA list NVIDIA's featured models first, in NVIDIA's order, followed by the remaining global recommendations. Other providers are unchanged, and catalog v1 is unchanged. ## Why This Change Was Made Catalog publication now reads a small per-provider table of provider-published featured lists (initially only NVIDIA's `featured-models.json`). Each featured id is matched to that provider's served, non-deprecated rows by canonical id, so `z-ai/glm-5-3` matches `z-ai/glm-5.3` and a missing `nvidia/` prefix still matches. The provider's own row ids lead its `recommendedModels`, followed by the global list's matches that are not already included. Provider picks win as listed: the family/successor rule only trims the global part. Unserved or deprecated featured ids are skipped and logged. If the feed is unavailable, malformed, empty or matches nothing, publication falls back to the global list with a warning (no warning for an empty feed). This is publish-time only: no SDK, protocol, schema or runtime state changes. Docs: `docs/concepts/recommended-models.md` gains a "Provider featured lists" section; `docs/providers/nvidia.md` links it. ## Evidence Local publish of v1 + v2 against live sources, baseline `origin/main` vs this branch: ``` before nvidia.recommendedModels: ["moonshotai/kimi-k3","deepseek-ai/deepseek-v4.1-flash","z-ai/glm-5.3","z-ai/glm-5.3-flash","nvidia/nemotron-3-ultra-550b-a55b","nvidia/nemotron-3-super-120b-a12b"] after nvidia.recommendedModels: ["nvidia/nemotron-3-ultra-550b-a55b","nvidia/nemotron-3-super-120b-a12b","z-ai/glm-5.3","deepseek-ai/deepseek-v4.1-flash","moonshotai/kimi-k3","z-ai/glm-5.3-flash"] [publish-model-catalog] featured provider=nvidia matched=4 ``` - v1 output is byte-identical to baseline apart from `generatedAt`; both bundles pass `parseRemoteModelCatalogBundle` / `parseRemoteModelCatalogBundleV2`, and the only v2 diff is NVIDIA's `recommendedModels` order. - `pnpm test test/scripts/publish-model-catalog.test.ts test/scripts/publish-model-catalog-v2.test.ts --maxWorkers=1`: 97 passed, ~48s wall (the 5 new cases take ~0.5s). New cases cover featured order with the global tail appended, the `glm-5-3` → `glm-5.3` match, a provider pick kept over the family rule, unserved and deprecated featured ids skipped, and fallback when the feed is unavailable, malformed, unmatched or empty. - `pnpm check:changed` passed. No overlap with Pash/Sarah changes. Merge danger: two-way door. A revert restores the global-only projection on the next publish; nothing is stored or migrated. Blast radius: only the order of NVIDIA's `recommendedModels` in hosted catalog v2. Co-authored-by: Ayaan Zaidi <[email protected]>
## What Problem This Solves Fixes chat model pickers showing every model when an upgrade is newer than the last hosted catalog publication. ## User Impact Compatible stored recommendations survive an upgrade. The picker still shows the current/default models and recommended choices first, with the rest behind **All models**. A recommended ID cannot restore an unavailable model. No UI code, configuration, or stored data changes. ## Why This Change Was Made The build timestamp is a freshness cutoff for remote model rows and prices, not for the publisher-owned recommendation list. Keep those older rows and prices rejected while retaining recommendations in the same captured catalog generation. Match recommendations against the rows actually served. This preserves the paired row/pricing adoption and in-flight generation rules from #158000, and the publisher ownership and unserved-ID filtering from #166737, #167370, and #167989. The [catalog publication workflow](https://github.com/openclaw/catalog/blob/main/.github/workflows/publish.yml) runs independently of releases and preserves the previous timestamp when catalog content has not changed. #158000 also records published-driver upgrade proof where the hosted catalog was older than the candidate build. No overlap with Pash/Sarah changes. ## Evidence - Focused overlay, pricing, and catalog visibility suites: 56 tests passed, including unchanged stale row/pricing rejection. - The new regression fails on baseline `da65be64a3216fa78420099e41b9182c6ef29515` because the served row has no recommendation, and passes with this fix. - The regression uses a valid v2 catalog and proves only currently served recommended rows match; stale rows and both pricing maps stay absent. - Bounded Codex review found one existing snapshot fixture to migrate; it is fixed and its 12-test consumer suite passes. The simplification pass retained one snapshot owner, no UI changes, and no new stored state. - Isolated real Gateways, same eight synthetic OpenAI models and the same valid stored v2 catalog dated October 2 (older than both builds): baseline shows all eight; candidate shows Default + the served recommendation, with **All models (6)** collapsed. The retired recommended ID never appears. - Screenshots below are from those desktop runs, cropped only to omit the private sidebar. No provider call or production profile was used. ### Before  ### After  ## Merge risk Two-way door: reverting restores the previous read behavior; this change writes no state and needs no migration. The affected consumers are model pickers using hosted recommendations. Remote rows and prices retain their existing freshness cutoff. Co-authored-by: Ayaan Zaidi <[email protected]>
…172622) ## What Problem This Solves Fixes chat model pickers showing every model when an upgrade is newer than the last hosted catalog publication. ## User Impact Compatible stored recommendations survive an upgrade. The picker still shows the current/default models and recommended choices first, with the rest behind **All models**. A recommended ID cannot restore an unavailable model. No UI code, configuration, or stored data changes. ## Why This Change Was Made The build timestamp is a freshness cutoff for remote model rows and prices, not for the publisher-owned recommendation list. Keep those older rows and prices rejected while retaining recommendations in the same captured catalog generation. Match recommendations against the rows actually served. This preserves the paired row/pricing adoption and in-flight generation rules from openclaw#158000, and the publisher ownership and unserved-ID filtering from openclaw#166737, openclaw#167370, and openclaw#167989. The [catalog publication workflow](https://github.com/openclaw/catalog/blob/main/.github/workflows/publish.yml) runs independently of releases and preserves the previous timestamp when catalog content has not changed. openclaw#158000 also records published-driver upgrade proof where the hosted catalog was older than the candidate build. No overlap with Pash/Sarah changes. ## Evidence - Focused overlay, pricing, and catalog visibility suites: 56 tests passed, including unchanged stale row/pricing rejection. - The new regression fails on baseline `2a342126f558d86ee2a171bd5c3aa90b474b057d` because the served row has no recommendation, and passes with this fix. - The regression uses a valid v2 catalog and proves only currently served recommended rows match; stale rows and both pricing maps stay absent. - Bounded Codex review found one existing snapshot fixture to migrate; it is fixed and its 12-test consumer suite passes. The simplification pass retained one snapshot owner, no UI changes, and no new stored state. - Isolated real Gateways, same eight synthetic OpenAI models and the same valid stored v2 catalog dated October 2 (older than both builds): baseline shows all eight; candidate shows Default + the served recommendation, with **All models (6)** collapsed. The retired recommended ID never appears. - Screenshots below are from those desktop runs, cropped only to omit the private sidebar. No provider call or production profile was used. ### Before  ### After  ## Merge risk Two-way door: reverting restores the previous read behavior; this change writes no state and needs no migration. The affected consumers are model pickers using hosted recommendations. Remote rows and prices retain their existing freshness cutoff. Co-authored-by: Ayaan Zaidi <[email protected]>
What Problem This Solves
The hosted catalog's recommended models ignore the models a provider itself features, so NVIDIA's own picks show up in OpenClaw's global order (or not at all, like Nemotron 3 Super trailing at the end).
User Impact
Model pickers for NVIDIA list NVIDIA's featured models first, in NVIDIA's order, followed by the remaining global recommendations. Other providers are unchanged, and catalog v1 is unchanged.
Why This Change Was Made
Catalog publication now reads a small per-provider table of provider-published featured lists (initially only NVIDIA's
featured-models.json). Each featured id is matched to that provider's served, non-deprecated rows by canonical id, soz-ai/glm-5-3matchesz-ai/glm-5.3and a missingnvidia/prefix still matches. The provider's own row ids lead itsrecommendedModels, followed by the global list's matches that are not already included. Provider picks win as listed: the family/successor rule only trims the global part. Unserved or deprecated featured ids are skipped and logged. If the feed is unavailable, malformed, empty or matches nothing, publication falls back to the global list with a warning (no warning for an empty feed). This is publish-time only: no SDK, protocol, schema or runtime state changes.Docs:
docs/concepts/recommended-models.mdgains a "Provider featured lists" section;docs/providers/nvidia.mdlinks it.Evidence
Local publish of v1 + v2 against live sources, baseline
origin/mainvs this branch:generatedAt; both bundles passparseRemoteModelCatalogBundle/parseRemoteModelCatalogBundleV2, and the only v2 diff is NVIDIA'srecommendedModelsorder.pnpm test test/scripts/publish-model-catalog.test.ts test/scripts/publish-model-catalog-v2.test.ts --maxWorkers=1: 97 passed, ~48s wall (the 5 new cases take ~0.5s). New cases cover featured order with the global tail appended, theglm-5-3→glm-5.3match, a provider pick kept over the family rule, unserved and deprecated featured ids skipped, and fallback when the feed is unavailable, malformed, unmatched or empty.pnpm check:changedpassed.Merge danger: two-way door. A revert restores the global-only projection on the next publish; nothing is stored or migrated. Blast radius: only the order of NVIDIA's
recommendedModelsin hosted catalog v2.