NemoClaw icon indicating copy to clipboard operation
NemoClaw copied to clipboard

[DGX Station][Onboard] openclaw agent defaults to openai/gpt-5.5 with no auth, ignores sandbox provider

Open wangericnv opened this issue 6 months ago • 0 comments

Description

Description

After NemoClaw v0.0.43 standard onboard completes on DGX Station with provider
NVIDIA Endpoints (nvidia-prod / nvidia/nemotron-3-super-120b-a12b) — visible via
`nemoclaw list` — the openclaw agent inside the sandbox does NOT inherit that
provider/model. Running `openclaw agent --agent main -m "What is 2+2?"` inside
the sandbox falls back to its built-in default model openai/gpt-5.5 and fails
with "No API key found for provider 'openai'" because the agent's auth-profiles
were never written by onboard.

Sandbox-level provider config is correct (vLLM/NVIDIA route is healthy — direct
`curl http://127.0.0.1:8000/v1/chat/completions` works), but the openclaw
agent layer is misaligned. Onboard should either write
/root/.openclaw/agents/main/agent/auth-profiles.json with the chosen provider
+ key, or align the agent's default model with the sandbox provider, or both.
Environment
Device:        DGX Station GB300 (galaxy-sku2-018, host 10.176.192.158)
OS:            Ubuntu 24.04.4 LTS
Architecture:  aarch64
Kernel:        6.17.0-1014-nvidia-64k
GPU:           NVIDIA GB300 (256703 MB) + NVIDIA RTX PRO 6000 Blackwell Max-Q (97887 MB)
NVIDIA driver: 610.39
Node.js:       v22.22.3 (auto-installed by curl|bash)
npm:           10.9.8
Docker:        29.5.0 (build 98f1464)
nvidia-ctk:    1.19.0
OpenShell CLI: 0.0.39
NemoClaw:      v0.0.43
OpenClaw:      2026.4.24 (cbcfdf6)
Steps to Reproduce
1. Start from a clean Station (no prior nemoclaw / openshell / ~/.nemoclaw)
2. export NVIDIA_API_KEY=
3. Run: curl -fsSL https://www.nvidia.com/nemoclaw.sh | bash
4. Type 'yes' to license, 'n' to express → standard wizard
5. At inference menu, select '1' (NVIDIA Endpoints); accept default model + sandbox name
6. Wait for onboard complete; verify with `nemoclaw list` →
     agent: openclaw  model: nvidia/nemotron-3-super-120b-a12b  provider: nvidia-prod
7. Get sandbox container: docker ps | grep openshell-my-assistant
8. From host: docker exec -i  bash -lc 'openclaw agent --agent main -m "What is 2+2?" --session-id test'
Expected Result
openclaw agent uses the provider/model that nemoclaw onboard configured at
the sandbox level — nvidia-prod / nvidia/nemotron-3-super-120b-a12b — and
returns a valid response to "What is 2+2?".
Actual Result
Agent attempts to use openai/gpt-5.5 and fails:

  lane task error: lane=main durationMs=6392 error="Error: No API key found
  for provider \"openai\". Auth store:
  /root/.openclaw/agents/main/agent/auth-profiles.json (agentDir:
  /root/.openclaw/agents/main/agent). Configure auth for this agent
  (openclaw agents add ) or copy auth-profiles.json from the main
  agentDir."

  model fallback decision: decision=candidate_failed
    requested=openai/gpt-5.5 candidate=openai/gpt-5.5 reason=auth next=none
    detail=No API key found for provider "openai"

  FailoverError: No API key found for provider "openai"

State on disk inside the sandbox:
  /root/.openclaw/agents/main/agent/models.json    → has only codex provider with gpt-5.5
  /root/.openclaw/agents/main/agent/auth-profiles.json → does NOT exist
  /root/.openclaw/openclaw.json                    → does NOT exist
  openclaw doctor reports: "gateway.mode is unset; gateway start will be blocked"

Direct vLLM endpoint works fine (proves sandbox-level NVIDIA route is healthy):
  curl http://127.0.0.1:8000/v1/chat/completions -d '{...}' → 200 OK with response
Logs
Reproduced 2026-05-15 ~04:00 UTC during T6003293 manual test.
Diagnostic trace at /home/lab/day0-automation/20260511/_t6003293_console.log
on local-lab.
Impact
- T6003293 test step 6 ("openclaw agent -m 'What is 2+2?'" verifies inference
  end-to-end) cannot pass — only direct vLLM curl works.
- Any user who completes onboard then tries `openclaw agent` inside the sandbox
  hits the same dead end. Suggested fix from error message
  ("openclaw agents add ") is undocumented and not in standard test flows.
- Doesn't affect TUI flow (the openclaw TUI may handle this differently — needs
  separate verification on v0.0.43).

Bug Details

Field Value
Priority Unprioritized
Action Dev - Open - To fix
Disposition Open issue
Module Machine Learning - NemoClaw
Keyword NemoClaw, NemoClaw_Agent&Skills, NEMOCLAW_GH_SYNC_APPROVAL, NemoClaw_Onboard

[NVB#6179566]

wangericnv avatar May 15 '26 07:05 wangericnv