Skip to content

fix(inference): refresh NVIDIA Endpoints featured models (Fixes #5827) - #5861

Closed
deepujain wants to merge 3 commits into
NVIDIA:mainfrom
deepujain:fix/5827-refresh-featured-endpoints
Closed

fix(inference): refresh NVIDIA Endpoints featured models (Fixes #5827)#5861
deepujain wants to merge 3 commits into
NVIDIA:mainfrom
deepujain:fix/5827-refresh-featured-endpoints

Conversation

@deepujain

@deepujain deepujain commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

Summary

Refreshes the curated NVIDIA Endpoints onboarding menu from https://assets.ngc.nvidia.com/products/api-catalog/featured-models.json, while preserving the GLM 5.1 retirement already merged in #6069.

This keeps the fix static and small rather than adding runtime network fetching to onboarding. I preserved NemoClaw's existing nvidia/nemotron-3-super-120b-a12b Super model id even though the featured JSON currently omits the nvidia/ prefix, so this PR does not change the established default cloud model route.

The issue text mentions Minimax M3, but the source JSON used for this update lists minimaxai/minimax-m2.7 / Minimax M2.7. This PR follows that entry. GLM 5.1 is intentionally excluded from NVIDIA Endpoints because #6069 retired it ahead of provider removal.

Fixes #5827
Refs #5844 (coordination only; does not fix endpoint health/latency)

Changes

  • Update CLOUD_MODEL_OPTIONS to show Nemotron 3 Ultra, Nemotron 3 Super, Kimi K2.6, and Minimax M2.7.
  • Remove stale featured-menu entries for Nemotron 3 Nano Omni, GPT-OSS 120B, and DeepSeek V4 Pro, and retain the removal of GLM 5.1 from fix(inference): retire GLM 5.1 endpoint selection #6069. Models still served by the endpoint can be entered manually and validated against /models.
  • Update focused menu/config tests and the NVIDIA Endpoints docs row to match the refreshed featured list.
  • Lower the legacy test-size budget for test/onboard-selection.test.ts because this PR shrinks that file by two lines.

Type of Change

  • Code change (feature, bug fix, or refactor)
  • Code change with doc updates
  • Doc only (prose changes, no code sample modifications)
  • Doc only (includes code sample changes)

Quality Gates

  • Tests added or updated for changed behavior
  • Existing tests cover changed behavior - justification:
  • Tests not applicable - justification:
  • Docs updated for user-facing behavior changes
  • Docs not applicable - justification:
  • Sensitive paths changed (security, policy, credentials, preflight, onboarding, inference, runner, sandbox, or messaging)
  • Sensitive-path review completed or maintainer-approved waiver recorded - justification: change is limited to the static hosted-model menu/docs and does not alter credential handling, endpoint validation, runtime probing, or provider selection logic.
  • Non-success, skipped, or missing CI check accepted by maintainer - check name, approval link, and follow-up issue:

Verification

  • PR description includes the DCO sign-off declaration and every commit appears as Verified in GitHub
  • Git hooks passed during commit and push, or npx prek run --from-ref main --to-ref HEAD passes
  • Targeted tests pass for changed behavior
  • Full npm test passes (broad runtime changes only)
  • Quality Gates section completed with required justifications or waivers
  • No secrets, API keys, or credentials committed
  • npm run docs builds without warnings (doc changes only)
  • Doc pages follow the style guide (doc changes only)
  • New doc pages include SPDX header and frontmatter (new pages only)

Validation performed:

  • curl -L https://assets.ngc.nvidia.com/products/api-catalog/featured-models.json - confirmed the current featured list is Nemotron 3 Ultra, Nemotron 3 Super, GLM 5.1, Kimi K2.6, and Minimax M2.7.
  • npm install --ignore-scripts - installed dependencies in the isolated worktree.
  • npm run build:cli - passed.
  • npm run typecheck:cli - passed.
  • npm run source-shape:check - passed when rerun outside the sandbox IPC restriction.
  • npx vitest run --project cli src/lib/inference/config.test.ts src/lib/inference/model-prompts.test.ts test/onboard-selection.test.ts -t 'curated cloud model picker options|Minimax M2.7|selects Kimi K2.6' - passed.
  • npx @biomejs/biome format src/lib/inference/config.ts src/lib/inference/config.test.ts src/lib/inference/model-prompts.test.ts test/onboard-selection.test.ts docs/inference/inference-options.mdx - passed.
  • git diff --check - passed.
  • npm run test-size:check - passed when rerun outside the sandbox IPC restriction.
  • npm run docs:check-agent-variants - passed when rerun outside the sandbox IPC restriction.
  • npm test - attempted; timed out after 300s with unrelated local-environment failures already present in real port/process/sandbox-oriented tests, including src/lib/onboard/preflight.test.ts, test/sandbox-provisioning.test.ts, test/policy-tiers-onboard.test.ts, and test/cli/connect-recovery.test.ts.

Evidence it works

The focused config test now locks the curated cloud model menu to the current featured set and labels. The prompt helper test selects the last featured option, and the onboarding regression selects Kimi K2.6 from the NVIDIA Endpoints menu and validates it through the chat-completions path.

Signed-off-by: Deepak Jain deepujain@gmail.com

Summary by CodeRabbit

  • Bug Fixes

    • Refreshed the curated NVIDIA Endpoints model list and the default/model selection flow to reflect the latest recommended options and display labels.
    • Updated available models and ordering (Nemotron 3 Ultra 550B, Nemotron 3 Super 120B, Kimi K2.6, Minimax M2.7), removing older entries.
    • Improved consistency so the selected model shown in results matches the user’s choice.
  • Documentation

    • Updated the “Provider Options” reference table for NVIDIA Endpoints to match the current model list and labeling.

@copy-pr-bot

copy-pr-bot Bot commented Jun 26, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@coderabbitai

coderabbitai Bot commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review
📝 Walkthrough

Walkthrough

The curated NVIDIA Endpoints model list, matching docs, and related tests were updated to reflect a new featured-model ordering and labels. The onboarding selection flow now targets Kimi, and the test budget was adjusted accordingly.

Changes

NVIDIA Endpoints model list refresh

Layer / File(s) Summary
Curated model list update
src/lib/inference/config.ts, docs/inference/inference-options.mdx
CLOUD_MODEL_OPTIONS and the NVIDIA Endpoints docs now list the updated featured models, ordering, and labels.
Option selection validation
src/lib/inference/config.test.ts, src/lib/inference/model-prompts.test.ts
The config test now checks the full { id, label } array, and the prompt test now expects minimaxai/minimax-m2.7 from the updated default menu.
Onboarding selection test
test/onboard-selection.test.ts, ci/test-file-size-budget.json
The onboarding test now selects Kimi, asserts the revised model ids and curl behavior, and the file-size budget reflects the shorter test file.

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related PRs

  • NVIDIA/NemoClaw#4769: Also updates the NVIDIA Endpoints curated model picker and the related selection tests for the Nemotron 3 Ultra 550B entry.

Suggested labels: area: docs

Suggested reviewers: ericksoa, miyoungc

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Linked Issues check ⚠️ Warning The refresh and stale-entry removals are present, but the linked GLM-5→GLM-5.1 update is not reflected in the changed menu/config. Add the GLM featured-model update and verify the final curated list matches the linked JSON source of truth before merging.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes the main change: refreshing NVIDIA Endpoints featured models, and it stays concise and specific.
Out of Scope Changes check ✅ Passed The extra changes are supporting docs, tests, and a test-size budget tweak for the menu update, with no clear unrelated scope.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Comment @coderabbitai help to get the list of available commands.

@deepujain
deepujain force-pushed the fix/5827-refresh-featured-endpoints branch from 3ede38a to 4317bb6 Compare June 26, 2026 15:22
@deepujain

Copy link
Copy Markdown
Contributor Author

I double-checked the source JSON while working this PR. It currently lists minimaxai/minimax-m2.7 / Minimax M2.7, not Minimax M3, so the branch follows that source of truth and leaves M3 out for now. The focused checks in the PR body passed, and the codebase-growth guardrail is green after lowering the legacy test budget to match the smaller test file.

@wscurran wscurran added area: inference Inference routing, serving, model selection, or outputs area: onboarding Onboarding FSM, provider setup, sandbox launch, or first-run flow bug-fix PR fixes a bug or regression labels Jun 26, 2026
@wscurran

Copy link
Copy Markdown
Contributor

✨ Thanks for updating the curated NVIDIA Endpoints onboarding menu to match the current featured models from the NGC API catalog. This proposes a way to refresh the CLOUD_MODEL_OPTIONS constant with the latest model set while preserving the existing default cloud model route.


Related open issues:

@deepujain
deepujain force-pushed the fix/5827-refresh-featured-endpoints branch from 4317bb6 to e6472a7 Compare June 30, 2026 02:17
@deepujain

Copy link
Copy Markdown
Contributor Author

Rebased this on current main and kept the refreshed NVIDIA Endpoints menu aligned with the newer onboarding test shape. Build, typecheck, source-shape, and the focused inference/onboard selection Vitest run pass.

Fixes NVIDIA#5827

Signed-off-by: Deepak Jain <deepujain@gmail.com>
@deepujain
deepujain force-pushed the fix/5827-refresh-featured-endpoints branch from e6472a7 to f95d06a Compare June 30, 2026 02:19

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@test/onboard-selection.test.ts`:
- Line 424: The onboarding selection assertions are now expecting the wrong
preserved NVIDIA default model. Update the checks in the relevant test cases
around the default/fallback cloud-model path so they continue to assert
nvidia/nemotron-3-super-120b-a12b instead of Ultra, using the existing
payload.result.model expectations in test/onboard-selection.test.ts to keep the
suite guarding the intended default route.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: 1397afc7-3aaf-4d45-98b6-9ba52b725fcc

📥 Commits

Reviewing files that changed from the base of the PR and between e6472a7 and f95d06a.

📒 Files selected for processing (6)
  • ci/test-file-size-budget.json
  • docs/inference/inference-options.mdx
  • src/lib/inference/config.test.ts
  • src/lib/inference/config.ts
  • src/lib/inference/model-prompts.test.ts
  • test/onboard-selection.test.ts
✅ Files skipped from review due to trivial changes (2)
  • ci/test-file-size-budget.json
  • docs/inference/inference-options.mdx
🚧 Files skipped from review as they are similar to previous changes (3)
  • src/lib/inference/config.test.ts
  • src/lib/inference/model-prompts.test.ts
  • src/lib/inference/config.ts

Comment thread test/onboard-selection.test.ts Outdated
const payload = JSON.parse(result.stdout.trim());
assert.equal(payload.result.provider, "nvidia-prod");
assert.equal(payload.result.model, "nvidia/nemotron-3-super-120b-a12b");
assert.equal(payload.result.model, "nvidia/nemotron-3-ultra-550b-a55b");

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎯 Functional Correctness | 🟠 Major | ⚡ Quick win

These assertions flip the preserved default NVIDIA model.

The PR objective and linked notes say the default cloud-model route stays on nvidia/nemotron-3-super-120b-a12b, but Lines 424 and 3319 now bless Ultra instead. Keeping these expectations would stop the suite from catching a regression in the default/fallback onboarding path.

Also applies to: 3319-3319

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@test/onboard-selection.test.ts` at line 424, The onboarding selection
assertions are now expecting the wrong preserved NVIDIA default model. Update
the checks in the relevant test cases around the default/fallback cloud-model
path so they continue to assert nvidia/nemotron-3-super-120b-a12b instead of
Ultra, using the existing payload.result.model expectations in
test/onboard-selection.test.ts to keep the suite guarding the intended default
route.

Fixes NVIDIA#5827

Signed-off-by: Deepak Jain <deepujain@gmail.com>
@deepujain

Copy link
Copy Markdown
Contributor Author

Preserved nvidia/nemotron-3-super-120b-a12b as the default NVIDIA Endpoints route while keeping the refreshed model menu. Validation: npm run build:cli, npm run typecheck:cli, npm run source-shape:check, focused inference config/model prompt Vitest, and the three affected onboarding-selection scenarios.

@apurvvkumaria apurvvkumaria self-assigned this Jul 1, 2026
Signed-off-by: Apurv Kumaria <36614+apurvvkumaria@users.noreply.github.com>
@apurvvkumaria
apurvvkumaria force-pushed the fix/5827-refresh-featured-endpoints branch from 06d41a5 to b027281 Compare July 1, 2026 19:32

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@docs/inference/inference-options.mdx`:
- Line 67: Update the NVIDIA Endpoints curated model list in the inference
options table to include GLM 5.1 so the docs match the featured set being
shipped. Edit the existing NVIDIA Endpoints row in the inference options content
and add GLM 5.1 alongside the current curated models, keeping the row format
consistent with the surrounding table entries.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: 2eeac1b1-87cb-4ff7-bffc-6e31b4041910

📥 Commits

Reviewing files that changed from the base of the PR and between f95d06a and 06d41a5.

📒 Files selected for processing (5)
  • ci/test-file-size-budget.json
  • docs/inference/inference-options.mdx
  • src/lib/inference/config.test.ts
  • src/lib/inference/config.ts
  • src/lib/inference/model-prompts.test.ts
💤 Files with no reviewable changes (3)
  • src/lib/inference/model-prompts.test.ts
  • src/lib/inference/config.test.ts
  • src/lib/inference/config.ts
✅ Files skipped from review due to trivial changes (1)
  • ci/test-file-size-budget.json

| Option | Description | Curated models |
|--------|-------------|----------------|
| NVIDIA Endpoints | Routes to models hosted on [build.nvidia.com](https://build.nvidia.com). You can also enter any model ID from the catalog. Set `NVIDIA_INFERENCE_API_KEY`. | Nemotron 3 Super 120B, Nemotron 3 Ultra 550B, MiniMax M2.7, GPT-OSS 120B, DeepSeek V4 Pro |
| NVIDIA Endpoints | Routes to models hosted on [build.nvidia.com](https://build.nvidia.com). You can also enter any model ID from the catalog. Set `NVIDIA_INFERENCE_API_KEY`. | Nemotron 3 Ultra 550B, Nemotron 3 Super 120B, Kimi K2.6, Minimax M2.7 |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win

Add GLM 5.1 to the NVIDIA Endpoints curated list.

The refreshed featured set in the PR objective includes GLM 5.1, but this row still lists only four NVIDIA Endpoints models. That leaves the onboarding docs out of sync with the menu you are shipping.

♻️ Proposed fix
-| NVIDIA Endpoints | Routes to models hosted on [build.nvidia.com](https://build.nvidia.com). You can also enter any model ID from the catalog. Set `NVIDIA_INFERENCE_API_KEY`. | Nemotron 3 Ultra 550B, Nemotron 3 Super 120B, Kimi K2.6, Minimax M2.7 |
+| NVIDIA Endpoints | Routes to models hosted on [build.nvidia.com](https://build.nvidia.com). You can also enter any model ID from the catalog. Set `NVIDIA_INFERENCE_API_KEY`. | Nemotron 3 Ultra 550B, Nemotron 3 Super 120B, GLM 5.1, Kimi K2.6, Minimax M2.7 |
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
| NVIDIA Endpoints | Routes to models hosted on [build.nvidia.com](https://build.nvidia.com). You can also enter any model ID from the catalog. Set `NVIDIA_INFERENCE_API_KEY`. | Nemotron 3 Ultra 550B, Nemotron 3 Super 120B, Kimi K2.6, Minimax M2.7 |
| NVIDIA Endpoints | Routes to models hosted on [build.nvidia.com](https://build.nvidia.com). You can also enter any model ID from the catalog. Set `NVIDIA_INFERENCE_API_KEY`. | Nemotron 3 Ultra 550B, Nemotron 3 Super 120B, GLM 5.1, Kimi K2.6, Minimax M2.7 |
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@docs/inference/inference-options.mdx` at line 67, Update the NVIDIA Endpoints
curated model list in the inference options table to include GLM 5.1 so the docs
match the featured set being shipped. Edit the existing NVIDIA Endpoints row in
the inference options content and add GLM 5.1 alongside the current curated
models, keeping the row format consistent with the surrounding table entries.

@cv

cv commented Jul 1, 2026

Copy link
Copy Markdown
Collaborator

Closing as superseded by #6074, which now carries the current-main implementation for #5827, including the live featured-model catalog integration, bounded fallback and sanitization behavior, retired-model handling, and current regression coverage. Thank you for the original refresh and default-model coverage; that work helped inform the maintained solution in #6074.

@cv cv closed this Jul 1, 2026
@cv

cv commented Jul 1, 2026

Copy link
Copy Markdown
Collaborator

Thank you for the focused static catalog refresh and for preserving the established Nemotron 3 Super default; that work helped clarify the expected default behavior.

Closing this PR as superseded by #6074. The replacement addresses #5827 with the public NVIDIA featured catalog as the bounded, fixed-URL runtime source of truth, plus:

  • strict catalog parsing/sanitization, no credential forwarding, one lookup per onboarding session, and a bundled safe fallback;
  • explicit Nemotron namespace, Minimax M3, and retired GLM compatibility contracts;
  • preserved live-menu defaults, safe custom NEMOCLAW_MODEL manual-entry prefills, back navigation, and validation behavior;
  • updated docs and focused unit/integration coverage.

At final head a9e56dd06, #6074 is APPROVED, CLEAN, and mergeable; all 30 standard checks, both exact-head live E2E workflows, CodeRabbit, and the trusted PR/E2E advisors are green, with zero unresolved review threads. Every commit is DCO-compliant and GitHub Verified.

This is a supersession close, not a merge of this branch. Thanks again for the contribution.

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

Labels

area: inference Inference routing, serving, model selection, or outputs area: onboarding Onboarding FSM, provider setup, sandbox launch, or first-run flow bug-fix PR fixes a bug or regression

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Outdated model list from NVIDIA Endpoints

4 participants