chore: sync NemoClaw provider onboarding

Sync create-time NemoClaw provider onboarding with upstream custom endpoint and hosted NVIDIA credential contracts.
This commit is contained in:
mmckeen-nv
2026-06-30 00:10:05 -06:00
committed by GitHub
parent 1b5752793c
commit 9a57ee6ad2
4 changed files with 83 additions and 17 deletions
+9 -3
View File
@@ -114,8 +114,12 @@ assert.match(createRouteSource, /createAttempt\.readyVerification\?\.verified[\s
assert.match(createRouteSource, /const requestedMode = typeof raw\.mode === "string" \? raw\.mode : "vllm"/, 'blueprint create must default to vLLM experimental onboarding when the UI payload is absent')
assert.match(createRouteSource, /NEMOCLAW_EXPERIMENTAL = "1"/, 'blueprint create must support NemoClaw experimental provider onboarding')
assert.match(createRouteSource, /NEMOCLAW_PROVIDER = "vllm"/, 'blueprint create must support the vLLM onboarding provider')
assert.match(createRouteSource, /NEMOCLAW_PROVIDER = "nim-local"/, 'blueprint create must support the NVIDIA NIM onboarding provider')
assert.match(createRouteSource, /NEMOCLAW_PROVIDER_KEY = apiKey/, 'blueprint create must pass NVIDIA API keys through provider env without changing NemoClaw')
assert.match(createRouteSource, /NEMOCLAW_PROVIDER = "build"/, 'blueprint create must use NemoClaw build provider only for nvapi-* NVIDIA API keys')
assert.match(createRouteSource, /NEMOCLAW_PROVIDER = "custom"/, 'blueprint create must support OpenAI-compatible endpoint onboarding')
assert.match(createRouteSource, /NEMOCLAW_ENDPOINT_URL = settings\.endpointUrl/, 'OpenAI-compatible onboarding must pass the NemoClaw endpoint URL')
assert.match(createRouteSource, /COMPATIBLE_API_KEY = apiKey \|\| "dummy"/, 'OpenAI-compatible onboarding must pass COMPATIBLE_API_KEY or a no-auth placeholder')
assert.match(createRouteSource, /NEMOCLAW_PROVIDER_KEY = env\.COMPATIBLE_API_KEY/, 'OpenAI-compatible onboarding must bridge the provider key without printing secrets')
assert.match(createRouteSource, /Hosted NVIDIA Build onboarding requires an nvapi-\*/, 'blueprint create must reject non-nvapi keys for the hosted NVIDIA build provider')
assert.match(versionedInstallerSource, /OPENSHELL_VERSION="\$\{OPENSHELL_VERSION:-v0\.0\.44\}"/, 'versioned installer must default to the OpenShell release supported by current NemoClaw main')
assert.match(versionedInstallerSource, /NEMOCLAW_INSTALL_REF="\$\{NEMOCLAW_INSTALL_REF:-\$\{NEMOCLAW_INSTALL_TAG:-main\}\}"/, 'versioned installer must track the current NemoClaw main ref by default while preserving the legacy tag override')
assert.match(versionedInstallerSource, /OPENCLAW_VERSION="\$\{OPENCLAW_VERSION:-2026\.5\.27\}"/, 'versioned installer must pin the current NemoClaw-compatible OpenClaw base image version')
@@ -320,7 +324,9 @@ assert.match(
assert.doesNotMatch(pageSource, /console\.log\('Destroying sandbox:'/, 'destroy workflow must not be a UI-only placeholder')
assert.doesNotMatch(configPanelSource, /onInventoryRefresh/, 'create panel must leave post-create inventory orchestration to the parent')
assert.match(configPanelSource, /Use vLLM in experimental mode/, 'create panel must expose vLLM experimental onboarding')
assert.match(configPanelSource, /Use NVIDIA NIM/, 'create panel must expose NVIDIA NIM onboarding')
assert.match(configPanelSource, /NVIDIA hosted API/, 'create panel must expose hosted NVIDIA API onboarding')
assert.match(configPanelSource, /OpenAI-compatible endpoint/, 'create panel must expose custom OpenAI-compatible endpoint onboarding')
assert.match(configPanelSource, /createInferenceEndpointUrl/, 'create panel must send NEMOCLAW_ENDPOINT_URL for compatible endpoint onboarding')
assert.match(configPanelSource, /type CreateGpuMode = "none" \| "auto" \| "required"/, 'create panel must expose explicit GPU passthrough modes')
assert.match(configPanelSource, /gpuMode: createGpuMode/, 'create panel must send the selected GPU mode to the create API')
assert.match(configPanelSource, /Require GPU/, 'create panel must let operators require GPU passthrough')