fix(onboard): add skipVerify to NVIDIA provider config#1133
Conversation
The NVIDIA provider (build) in REMOTE_PROVIDER_CONFIG is the only remote provider missing the skipVerify flag. This causes `openshell inference set` to attempt endpoint verification during onboarding, which fails even when the API is reachable from the host — blocking onboarding at step 4/7. All other providers (OpenAI, Anthropic, Gemini, custom) already set skipVerify: true so that `--no-verify` is passed to the inference setup command. This adds the same flag to the NVIDIA provider for consistent behavior. Closes NVIDIA#1130 Signed-off-by: latenighthackathon <latenighthackathon@users.noreply.github.com>
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughAdded a single configuration flag ( Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
bin/lib/onboard.js (1)
78-97:⚠️ Potential issue | 🟠 MajorAdd
skipVerify: trueto Anthropic provider configs to match other providers.The
anthropicandanthropicCompatibleprovider configs (lines 78–97) are missingskipVerify: true, whilebuild,openai,gemini, andcustomall include it. This inconsistency means Anthropic users may encounter endpoint verification failures during onboarding—the same issue this PR fixes for NVIDIA. Either addskipVerify: trueto both Anthropic entries, or clarify in the PR summary why Anthropic verification should be required when other providers skip it.🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@bin/lib/onboard.js` around lines 78 - 97, The Anthropic provider objects anthropic and anthropicCompatible are missing the skipVerify flag causing inconsistent endpoint verification behavior; update both provider config objects (anthropic and anthropicCompatible) to include skipVerify: true so they match other providers (build, openai, gemini, custom) and avoid verification failures during onboarding.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Outside diff comments:
In `@bin/lib/onboard.js`:
- Around line 78-97: The Anthropic provider objects anthropic and
anthropicCompatible are missing the skipVerify flag causing inconsistent
endpoint verification behavior; update both provider config objects (anthropic
and anthropicCompatible) to include skipVerify: true so they match other
providers (build, openai, gemini, custom) and avoid verification failures during
onboarding.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: c1714b71-8257-493e-a248-f2339b982777
📒 Files selected for processing (1)
bin/lib/onboard.js
|
Hi — the DCO check failure was caused by the A new workflow run was triggered but needs maintainer approval to execute (first-time contributor gate). Could someone approve the pending run when you get a chance? Thanks! |
## Summary The NVIDIA provider (`build`) in `REMOTE_PROVIDER_CONFIG` is the only remote provider missing the `skipVerify` flag. This causes `openshell inference set` to attempt endpoint verification during onboarding, which fails even when the API is reachable from the host — blocking onboarding completely at step 4/7. All other providers (OpenAI, Anthropic, Gemini, custom) already set `skipVerify: true` so that `--no-verify` is passed to the inference setup command. This adds the same flag to the NVIDIA provider for consistent behavior. ## Changes - Added `skipVerify: true` to the `build` entry in `REMOTE_PROVIDER_CONFIG` (`bin/lib/onboard.js`) ## Test Plan - [x] Verified all other providers already include `skipVerify: true` - [x] Confirmed `skipVerify` controls the `--no-verify` flag at line 2420 - [x] Ran full test suite: 650/653 passed (3 pre-existing failures in `service-env.test.js` unrelated to this change) Closes #1130 Signed-off-by: latenighthackathon <latenighthackathon@users.noreply.github.com> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Enabled skip verification support for the NVIDIA Endpoints provider during onboarding, aligning its behavior with other remote providers for a more consistent setup experience. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Signed-off-by: latenighthackathon <latenighthackathon@users.noreply.github.com> Co-authored-by: latenighthackathon <latenighthackathon@users.noreply.github.com> Co-authored-by: Carlos Villela <cvillela@nvidia.com>
## Summary The NVIDIA provider (`build`) in `REMOTE_PROVIDER_CONFIG` is the only remote provider missing the `skipVerify` flag. This causes `openshell inference set` to attempt endpoint verification during onboarding, which fails even when the API is reachable from the host — blocking onboarding completely at step 4/7. All other providers (OpenAI, Anthropic, Gemini, custom) already set `skipVerify: true` so that `--no-verify` is passed to the inference setup command. This adds the same flag to the NVIDIA provider for consistent behavior. ## Changes - Added `skipVerify: true` to the `build` entry in `REMOTE_PROVIDER_CONFIG` (`bin/lib/onboard.js`) ## Test Plan - [x] Verified all other providers already include `skipVerify: true` - [x] Confirmed `skipVerify` controls the `--no-verify` flag at line 2420 - [x] Ran full test suite: 650/653 passed (3 pre-existing failures in `service-env.test.js` unrelated to this change) Closes NVIDIA#1130 Signed-off-by: latenighthackathon <latenighthackathon@users.noreply.github.com> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Enabled skip verification support for the NVIDIA Endpoints provider during onboarding, aligning its behavior with other remote providers for a more consistent setup experience. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Signed-off-by: latenighthackathon <latenighthackathon@users.noreply.github.com> Co-authored-by: latenighthackathon <latenighthackathon@users.noreply.github.com> Co-authored-by: Carlos Villela <cvillela@nvidia.com>
## Summary The NVIDIA provider (`build`) in `REMOTE_PROVIDER_CONFIG` is the only remote provider missing the `skipVerify` flag. This causes `openshell inference set` to attempt endpoint verification during onboarding, which fails even when the API is reachable from the host — blocking onboarding completely at step 4/7. All other providers (OpenAI, Anthropic, Gemini, custom) already set `skipVerify: true` so that `--no-verify` is passed to the inference setup command. This adds the same flag to the NVIDIA provider for consistent behavior. ## Changes - Added `skipVerify: true` to the `build` entry in `REMOTE_PROVIDER_CONFIG` (`bin/lib/onboard.js`) ## Test Plan - [x] Verified all other providers already include `skipVerify: true` - [x] Confirmed `skipVerify` controls the `--no-verify` flag at line 2420 - [x] Ran full test suite: 650/653 passed (3 pre-existing failures in `service-env.test.js` unrelated to this change) Closes NVIDIA#1130 Signed-off-by: latenighthackathon <latenighthackathon@users.noreply.github.com> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Enabled skip verification support for the NVIDIA Endpoints provider during onboarding, aligning its behavior with other remote providers for a more consistent setup experience. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Signed-off-by: latenighthackathon <latenighthackathon@users.noreply.github.com> Co-authored-by: latenighthackathon <latenighthackathon@users.noreply.github.com> Co-authored-by: Carlos Villela <cvillela@nvidia.com>
Summary
The NVIDIA provider (
build) inREMOTE_PROVIDER_CONFIGis the only remote provider missing theskipVerifyflag. This causesopenshell inference setto attempt endpoint verification during onboarding, which fails even when the API is reachable from the host — blocking onboarding completely at step 4/7.All other providers (OpenAI, Anthropic, Gemini, custom) already set
skipVerify: trueso that--no-verifyis passed to the inference setup command. This adds the same flag to the NVIDIA provider for consistent behavior.Changes
skipVerify: trueto thebuildentry inREMOTE_PROVIDER_CONFIG(bin/lib/onboard.js)Test Plan
skipVerify: trueskipVerifycontrols the--no-verifyflag at line 2420service-env.test.jsunrelated to this change)Closes #1130
Signed-off-by: latenighthackathon latenighthackathon@users.noreply.github.com
Summary by CodeRabbit