Skip to content

feat(model-catalog): lead NVIDIA recommendations with its featured models - #167989

Merged
obviyus merged 1 commit into
mainfrom
feat/provider-featured-recommendations
Oct 9, 2026
Merged

obviyus merged 1 commit into
mainfrom
feat/provider-featured-recommendations

Conversation

@obviyus

@obviyus obviyus commented Oct 9, 2026 •

Copy link
Copy Markdown
Collaborator

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.

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.

@clawsweeper

clawsweeper Bot commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@obviyus
obviyus marked this pull request as ready for review October 9, 2026 22:13
@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation scripts Repository scripts size: M labels Oct 9, 2026
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Oct 9, 2026
@clawsweeper

clawsweeper Bot commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

The 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.

  • Before: The published recommendation list begins with moonshotai/kimi-k3.
  • After: The published list begins with nvidia/nemotron-3-ultra-550b-a55b, followed by nvidia/nemotron-3-super-120b-a12b.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A useful, bounded implementation with live publisher evidence and no identified blocking defect.
Proof confidence 🦞 diamond lobster (5/6) Sufficient (live_output): The complete PR body records the changed catalog publisher running against live sources and producing the expected NVIDIA reorder with four featured matches. The baseline comparison reports preserved v1 output and validated v2 output; released source confirms the existing recommendation format needs no migration.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Feature · Worth it: Yes · Fix scope: Complete
User problem: NVIDIA’s featured models appear behind OpenClaw’s global recommendations in hosted-catalog model pickers.
Reason: The change carries established NVIDIA featured-first direction into hosted recommendations. Its discoverability value exceeds the bounded publisher cost while preserving availability, defaults, and existing selections.

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
Reviewed head: 7670ad9b9aa0d273aa7f789261a88b2b0282bd5b

Before merge

None.

Findings

None.

Agent review details

How this fits together

The 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]
Loading

Technical review

Best 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

  • scripts/publish-model-catalog.mts recommendation projection and v2 assembly changes intended behavior with a stated reason (feat(catalog): publish curated recommended models per provider in catalog v2 #166737: Publish recommendations from one curated global list using canonical identities, excluding unavailable rows and older listed family members.)
  • docs/concepts/recommended-models.md ordering contract changes intended behavior with a stated reason (2c9c6c8: Document reviewed global curation, successor filtering, and recommendation ordering.)
  • docs/providers/nvidia.md featured-feed ranking keeps the original intent (feat(models): refresh provider models and live discovery #131294: Use NVIDIA’s inventory for availability and its featured feed for ranking while preserving known chat metadata.)

Testing

Proof path: shipped entry point.

Security

None.

Evidence

What I checked:

Likely related people:

  • Ayaan Zaidi: Raw commit 2c9c6c8 adds scripts/publish-model-catalog.mts:1068 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 2c9c6c868855; files: scripts/publish-model-catalog.mts)
  • Peter Steinberger: Raw commit 902fa2a adds docs/providers/nvidia.md:74 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 902fa2aba3aa; files: docs/providers/nvidia.md)

PR surface

Tests +126, Docs +22, Other +96. Total +244 across 4 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 1 126 0 +126
Docs 2 23 1 +22
Config 0 0 0 0
Generated 0 0 0 0
Other 1 105 9 +96
Total 4 254 10 +244

Review metrics

Metric Value Why it matters
Production versus test growth Publisher +105/-9 lines; tests +126/-0 lines Production growth is justified by feed acquisition and projection within the existing publisher; the tests cover ordering and distinct fallback behavior.

Labels

Label changes:

  • add P2: This improves NVIDIA model discovery with a bounded recommendation-order change.
  • add proof: sufficient: Contributor real behavior proof is sufficient.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Label justifications:

  • P2: This improves NVIDIA model discovery with a bounded recommendation-order change.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.
  • proof: sufficient: Contributor real behavior proof is sufficient.

Rating scale

6/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.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only; repair and merge need explicit maintainer commands such as @clawsweeper autofix or @clawsweeper automerge.

Reviewed October 9, 2026, 6:19 PM ET / 22:19 UTC.

@obviyus
obviyus merged commit 73970eb into main Oct 9, 2026
160 of 163 checks passed
@obviyus
obviyus deleted the feat/provider-featured-recommendations branch October 9, 2026 22:21
@obviyus

obviyus commented Oct 9, 2026

Copy link
Copy Markdown
Collaborator Author

Landed in 73970eb. Hosted catalog v2 now leads a provider's recommendedModels with that provider's own featured list (NVIDIA first), then the global list. Live publish showed NVIDIA's order change to Nemotron 3 Ultra, Nemotron 3 Super, GLM 5.3, DeepSeek V4.1 Flash, then Kimi K3 and GLM 5.3 Flash; v1 output unchanged and both bundles validate. Thanks to NVIDIA for the request.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 10, 2026
…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]>
obviyus added a commit that referenced this pull request Oct 15, 2026
## 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

![Before: the model picker lists all eight models](https://github.com/user-attachments/assets/73fb0ec1-a4db-40cf-b01e-ce1bdddadc77)

### After

![After: the model picker retains the recommendation and collapses six other models](https://github.com/user-attachments/assets/190b53c2-8670-4de9-99d4-ed06a8c0ea69)

## 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]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 15, 2026
…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

![Before: the model picker lists all eight models](https://github.com/user-attachments/assets/73fb0ec1-a4db-40cf-b01e-ce1bdddadc77)

### After

![After: the model picker retains the recommendation and collapses six other models](https://github.com/user-attachments/assets/190b53c2-8670-4de9-99d4-ed06a8c0ea69)

## 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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to documentation P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. scripts Repository scripts size: M status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant