Skip to content

feat(models): honor NVIDIA recommendations in model pickers - #167946

Closed
roboclaw-bot wants to merge 1 commit into
mainfrom
openclaw/nvidia-provider-recommendations
Closed

roboclaw-bot wants to merge 1 commit into
mainfrom
openclaw/nvidia-provider-recommendations

Conversation

@roboclaw-bot

Copy link
Copy Markdown
Collaborator

What Problem This Solves

Fixes NVIDIA's newly featured models remaining under All models while OpenClaw's global recommendations take precedence in model pickers.

User Impact

NVIDIA's valid featured-model entries now determine its recommendations in feed order, without waiting for an OpenClaw release or hosted-catalog update. Other providers retain the global recommendation fallback. Other available catalog models stay searchable under All models, and Default/current selections remain visible.

A successful empty featured list recommends none; failed acquisition keeps the last accepted recommendation authority. Explicit Refresh fetches fresh NVIDIA inventory and featured metadata, while automatic inventory renewal preserves the featured feed's longer cache lifetime. There are no configuration, storage-schema, or protocol-version changes. Exact inventory admission is unchanged: the current upstream z-ai/glm-5-3 / z-ai/glm-5.3 mismatch is not guessed or silently normalized.

Why This Change Was Made

The NVIDIA plugin supplies its recommendation list through the existing catalog outcome and snapshot publication path. Generic ranking uses that list instead of unioning it with global recommendations, including text /models browsing. The existing optional recommended boolean carries explicit negative authority through Web and TUI pickers, including when no model is recommended.

Evidence

  • The producer-to-models.list regression fails on base 3e5d536280fdb77e467126289bb54b7d35585a87 and passes on the candidate. It covers a new featured model absent from the hosted catalog, ordered override rather than union, unrelated-provider fallback, exact-ID/stale-ID filtering, reordered refresh, and an explicit empty feed.
  • Focused core/SDK/TUI tests, NVIDIA plugin tests, retained-worker refresh coverage, and actual Control UI E2E cover failure retention, scoped authority, selected/default exceptions, folded search, and independent response TTLs.
  • Live public NVIDIA catalog test passes; no inference calls or credentials were needed.
  • Independent full-diff AutoReview: no actionable P0–P2 findings.
  • Clean Blacksmith Testbox build, all 27 core-test typecheck shards, UI/extension/root-test typechecks, and the remaining planned changed-check gates pass across resumed runs. The original aggregate run lost its Testbox connection during extension typechecking; its completed proof was retained and the remaining gates were run separately. Final build, extension types, Knip, extension lint, and 21 focused tests completed successfully in Testbox run 37975160671. The subsequent one-line text /models pass-through has separate failing/passing regression proof, scoped lint and independent review.
  • The build reports startup JS gzip at 373,492 B versus its 373,454 B limit (+38 B). This check is invoked with --report-only by ui:build; inheritance from the base has not been established. No performance baseline was changed.

Before

Global recommendations kept the new NVIDIA-featured model folded

After

NVIDIA's featured model is prominent while other available models remain searchable

The captures use the actual baseline/candidate Control UI with deterministic Gateway fixtures. An inspected authoritative-empty capture is also available.

Focused test cost

Measured single-worker Vitest suites (repository wrapper; wall time includes imports and shared compilation where applicable):

Proof Tests Measured time
Producer → snapshot → models.list 1 0.559 s test body, 40.50 s cold wall (shared worker compilation)
NVIDIA plugin/index + catalog 20 18.83 s wall
Provider response-cache SDK 15 2.94 s suite
TUI folding/search 2 0.997 s suite
Catalog-owner lifecycle 22 12.58 s suite
Existing Web picker unit cases 7 3.93 s suite
Text /models catalog/order cases 20 35.48 s wall (33.63 s suite); 3 new ordered/empty/absent cases
Retained worker refresh 1 selected 3.589 s test body, 23.60 s suite
Web E2E populated/empty 2 3.843 s test bodies, 30.04 s suite including shared UI build
Live public NVIDIA catalog 1 0.120 s test body, 25.11 s suite

The retained-worker case protects actual request/worker/cache propagation, which a helper-only cache test cannot prove. Browser builds are shared by the existing E2E suite. PR CI timings will be available on the attached GitHub checks; the table records completed local/Testbox proof, not pending PR CI.

Contributors: @obviyus and @jacobtomlinson.

Work sessions

Use NVIDIA featured-model feed order ahead of global recommendations, retain explicit empty authority, and refresh provider metadata on request.

Co-authored-by: obviyus <[email protected]>
Co-authored-by: jacobtomlinson <[email protected]>
@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.

@roboclaw-bot
roboclaw-bot marked this pull request as ready for review October 9, 2026 20:00
@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation app: web-ui App: web-ui gateway Gateway runtime agents Agent runtime and tooling extensions: nvidia size: XL labels Oct 9, 2026
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. proof: sufficient ClawSweeper judged the real behavior proof convincing. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. 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

NVIDIA’s featured-model feed determines which available models appear prominently in Web and terminal model pickers, while other providers keep OpenClaw’s recommendations.

Example: A user opens the NVIDIA group in the Control UI model picker.

  • Before: “New NVIDIA featured chat” is folded under “All models,” while Nemotron 3.5 Lightning appears prominently.
  • After: “New NVIDIA featured chat” appears prominently, while Nemotron 3.5 Lightning remains available under “All models.”

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A useful implementation with directly inspected visual proof, focused boundary coverage, and no identified blocking defect.
Proof confidence 🦞 diamond lobster (5/6) ✨ media proof bonus Sufficient (screenshot): Inspected before/after captures exercise the actual Control UI picker with deterministic Gateway fixtures and show the featured model becoming prominent while Default remains visible. Producer, retention, refresh, and text-order regressions supplement that visible proof; the body also reports a live public NVIDIA catalog run. No stored-data contract changes.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Feature · Worth it: Yes · Fix scope: Complete
User problem: New models featured by NVIDIA remain hidden under “All models” because the picker prioritizes OpenClaw’s hosted recommendations.
Reason: This connects NVIDIA’s established featured-feed recommendation direction to the newer shared picker system. Prior area contributors participate in the change, and the value exceeds the bounded catalog plumbing cost.

Merge readiness

✅ Ready for maintainer review

This PR contains useful work that current main does not provide. The reviewed change preserves model availability and existing selections, and no actionable correctness or security defect was identified.

Priority: P2
Reviewed head: 7412fdf16bd68bfb20e493240cc0488dd474fa8a

Before merge

None.

Findings

None.

Agent review details

How this fits together

Provider plugins discover available models and publish their metadata through the Gateway’s model catalog. Web, terminal, and text model browsers consume that catalog to order choices without fetching provider metadata during rendering.

flowchart TD
  A[NVIDIA inventory] --> C[NVIDIA provider plugin]
  B[NVIDIA featured feed] --> C
  C --> D[Prepared catalog publication]
  E[Hosted recommendations] --> F[Choose provider or hosted recommendations]
  D --> F
  F --> G[Web and terminal pickers]
  F --> H[Text model browser]
Loading

Technical review

Best possible solution:

Keep NVIDIA’s recommendation choice in its plugin and publish it through the existing catalog owner to every affected picker.

Do we have a high-confidence way to reproduce the issue?

Yes: current-main source uses only hosted recommendations, and the inspected baseline browser capture shows the featured model folded beneath them. The supplied regression reports a base failure and candidate pass; this review did not execute tests.

Is this the best way to solve the issue?

Yes: the change extends the existing discovery outcome, publication, and shared ranking owners instead of adding a parallel picker policy. Exact inventory membership, default/current selections, and unrelated-provider fallback remain intact.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against d6158cc48033.

Provenance checked

Testing

Proof path: shipped entry point.

Security

None.

Evidence

What I checked:

Likely related people:

  • Ayaan Zaidi: Raw commit d81169b adds src/agents/model-catalog-order.ts:69 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: d81169b0c996; files: src/agents/model-catalog-order.ts)

PR surface

Source +189, Tests +561, Docs +22. Total +772 across 43 files. Added test files: 3.

View PR surface stats
Area Files Added Removed Net
Source 27 339 150 +189
Tests 14 579 18 +561
Docs 2 25 3 +22
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 43 943 171 +772

Review metrics

Metric Value Why it matters
Production versus test growth Production +339/-150; tests and test support +579/-18 Production growth carries provider recommendations and explicit refresh through existing owners; supporting tests cover distinct discovery, publication, worker, and rendering boundaries.
Public catalog additions 2 optional SDK fields; existing protocol boolean retained The documented recommendation and refresh contracts preserve existing call shapes and hosted fallback behavior.

Labels

Label changes:

  • add P2: This improves model discovery and selection with a bounded presentation impact.
  • add merge-risk: 🚨 compatibility: The PR extends public catalog metadata and refresh options and gives explicit false recommendation values a presentation meaning; the additions are optional, documented, and preserve existing fallback behavior.
  • add proof: sufficient: Contributor real behavior proof is sufficient.
  • add proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence.
  • 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 model discovery and selection with a bounded presentation impact.
  • merge-risk: 🚨 compatibility: The PR extends public catalog metadata and refresh options and gives explicit false recommendation values a presentation meaning; the additions are optional, documented, and preserve existing fallback behavior.
  • 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.
  • proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence.

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, 4:08 PM ET / 20:08 UTC.

@obviyus

obviyus commented Oct 9, 2026

Copy link
Copy Markdown
Collaborator

Superseded by #167989 (merged in 73970eb). NVIDIA's featured list is now honored at publish time: the hosted catalog's NVIDIA recommendedModels lead with NVIDIA's featured models in feed order, followed by the global recommended list. It needs no SDK, protocol or runtime-state changes. Closing this as superseded.

@obviyus obviyus closed this Oct 9, 2026
@RomneyDa
RomneyDa deleted the openclaw/nvidia-provider-recommendations branch October 22, 2026 05:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling app: web-ui App: web-ui docs Improvements or additions to documentation extensions: nvidia gateway Gateway runtime merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. P2 Normal backlog priority with limited blast radius. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: XL 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.

2 participants