fix(onboard): make step 3 banner provider-agnostic#3966
Conversation
The step 3 banner printed "Configuring inference (NIM)" before the user picked a provider, so it appeared for every selection including OpenAI, Anthropic, Gemini, and Ollama paths that never touch NIM. Drop the "(NIM)" qualifier and use "Configuring inference provider", which is the wording the blueprint runner and e2e harness already use. Closes NVIDIA#3951 Signed-off-by: Dongni Yang <dongniy@nvidia.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughDuring onboarding, step [3/8] displays a banner label. This PR changes the label from "Configuring inference (NIM)" to "Configuring inference provider" to reflect that any inference provider can be selected, not just NIM-local backends. The step title constant and runtime label are updated together, and a UX test assertion is added to enforce the provider-agnostic label. ChangesOnboarding inference provider label
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
ESLint skipped: no ESLint configuration detected in root package.json. To enable, add Comment |
Bring branch up to date with NVIDIA/NemoClaw main (dc63189). Signed-off-by: Dongni Yang <dongniy@nvidia.com>
Summary
The step 3 onboard banner printed
Configuring inference (NIM)before the user picked a provider, so the(NIM)qualifier appeared for OpenAI, Anthropic, Gemini, Ollama, and every other non-NIM selection. Switch the label toConfiguring inference provider, matching the wording already used by the blueprint runner (nemoclaw/src/blueprint/runner.ts:736) and the e2e harness.Related Issue
Closes #3951
Changes
src/lib/onboard.ts: rename the step 3 banner insidesetupNim()fromConfiguring inference (NIM)toConfiguring inference provider.src/lib/onboard.ts: updateONBOARD_STEP_INDEX.provider_selection.titleso the resume / reuse banner stays consistent with the live banner.test/onboard-selection.test.ts: add two regression assertions on the captured stdout ofsetupNim()— the new banner must appear and(NIM)must not, when a non-NIM provider is selected.Type of Change
Verification
npx prek run --all-filespassesvitest run --project cli test/onboard-selection.test.ts test/onboard.test.ts test/onboard-resume-provider-recovery.test.ts— 125 tests, all passSigned-off-by: Dongni Yang dongniy@nvidia.com
Summary by CodeRabbit
Style
Tests