NEMOCLAW_REASONING=true is read during onboarding but written as false on a fresh sandbox
Investigation Summary
- On a from-scratch onboard (sandbox destroyed first,
nemoclaw listempty, so no recorded value existed to replay),NEMOCLAW_REASONING=truewas exported and confirmed in the shell before running the installer. - Onboarding demonstrably read the flag: it printed
⚠ Reasoning mode validates Chat Completions only; tools and streaming are unverified.during endpoint validation, a message that only appears when reasoning mode is active. - After the onboard completed, both the container build environment (
NEMOCLAW_REASONING=false) and the generatedopenclaw.json("reasoning": false) show the default value, so the flag is lost between validation and build-argument assembly. - Six attempts across every documented and undocumented path produced
reasoning: false: installer (inline env),rebuild --yes, installer withNEMOCLAW_RECREATE_SANDBOX=1,onboard --fresh --recreate-sandbox(inline env), the same withexportas documented, and a full destroy plus fresh onboard. - Unknown: where in the onboarding pipeline the value is reset. Validation branching sees
true; the Docker build arg and generated config both receivefalse.
Description
NEMOCLAW_REASONING=true is not persisted into the sandbox configuration, even on a brand-new sandbox created from scratch with the variable exported, following docs/inference/configure-model-capabilities.mdx verbatim.
The variable is clearly read during onboarding. When reasoning mode is active, endpoint validation prints:
⚠ Reasoning mode validates Chat Completions only; tools and streaming are unverified.
That message appeared on this run, which confirms the flag reached the validation logic. Despite that, after the onboard finished:
docker inspecton the sandbox container showsNEMOCLAW_REASONING=false- the generated
openclaw.jsonshows"reasoning": falsefor the model entry
Because the sandbox was destroyed beforehand (nemoclaw list returned no sandboxes), there was no previously recorded value that could take precedence. This is distinct from the resume-path precedence behavior described in #5735 and reported in #7462 — there was nothing to replay.
Expected: a fresh onboard with NEMOCLAW_REASONING=true exported records reasoning: true for the model.
Actual: the value is read during validation, then written as false to both the container environment and openclaw.json.
Practical impact: the served model is a reasoning model (vLLM launched with --reasoning-parser nemotron_v3, and the model demonstrably emits reasoning blocks before content), but OpenClaw is configured as if it is not. There is currently no working way to correct that declaration on this platform.
Reproduction Steps
-
Destroy any existing sandbox so no recorded capability value can be replayed:
nemoclaw <sandbox> destroy nemoclaw list # confirm: no sandboxes -
Export the flag and confirm it is set:
export NEMOCLAW_REASONING=true echo "$NEMOCLAW_REASONING" # true -
Run a fresh onboard against a local OpenAI-compatible endpoint serving a reasoning model:
curl -fsSL https://www.nvidia.com/nemoclaw.sh -o /tmp/nemoclaw.sh chmod +x /tmp/nemoclaw.sh NEMOCLAW_INSTALL_REF=v0.0.92 /tmp/nemoclaw.shWizard answers: skip express install; provider option 4 (Other OpenAI-compatible endpoint); base URL
http://localhost:8000/v1; API keyEMPTY; modelnemotron-3-super; sandbox namespark-nemo; Balanced policy tier. -
During endpoint validation, observe that reasoning mode is active:
⚠ Reasoning mode validates Chat Completions only; tools and streaming are unverified. -
After the onboard completes, inspect the result:
docker inspect $(docker ps -q --filter name=openshell-<sandbox>) \ --format '{{json .Config.Env}}' | python3 -m json.tool | grep -i reasoning # → "NEMOCLAW_REASONING=false" ssh openshell-<sandbox> "cat /sandbox/.openclaw/openclaw.json \ | python3 -m json.tool | grep -A2 -B2 reasoning" # → "reasoning": false
Also attempted, all producing reasoning: false:
- installer with
NEMOCLAW_REASONING=trueas an inline prefix nemoclaw <sandbox> rebuild --yeswith the variable set- installer with
NEMOCLAW_RECREATE_SANDBOX=1 nemoclaw onboard --fresh --name <sandbox> --recreate-sandbox(inline env)- the same command with
export, exactly as documented
nemoclaw inference set exposes no capability flag, so there is no CLI alternative.
Environment
- Platform: NVIDIA DGX Spark (GB10, aarch64), 128 GB unified memory
- Host OS: Ubuntu 24.04 / DGX OS 7.5.0
- Kernel: 6.17.0-1026-nvidia
- GPU driver: 580.173.02, CUDA 13.0
- Docker: 29.2.1 (Docker driver)
- Node.js: v22.22.2
- NemoClaw: v0.0.92
- OpenShell: 0.0.85
- OpenClaw: 2026.7.1
- Inference: vLLM v0.18.1-cu130 (Docker) serving
nvidia/NVIDIA-Nemotron-3-Super-120B-A12B-NVFP4asnemotron-3-super, launched with--reasoning-parser nemotron_v3 --enable-auto-tool-choice --tool-call-parser qwen3_coder - Provider path:
https://inference.local/v1→http://host.openshell.internal:8000/v1(OpenShell managed route), API familyopenai-completions
Debug Output
The relevant excerpts are in the Logs section below; happy to attach the full tarball on request.
Logs
### Onboarding confirms reasoning mode is active
Other OpenAI-compatible endpoint model []: nemotron-3-super
⚠ Reasoning mode validates Chat Completions only; tools and streaming are unverified.
### Post-onboard: container build environment
$ docker inspect $(docker ps -q --filter name=openshell-spark-nemo) \
--format '{{json .Config.Env}}' | python3 -m json.tool | grep -i reasoning
"NEMOCLAW_REASONING=false",
### Post-onboard: generated config
$ ssh openshell-spark-nemo "cat /sandbox/.openclaw/openclaw.json \
| python3 -m json.tool | grep -A2 -B2 reasoning"
"id": "nemotron-3-super",
"name": "inference/nemotron-3-super",
"reasoning": false,
"input": [
"text"
### Gateway view of the model at startup
[gateway] agent model: inference/nemotron-3-super (thinking=off, fast=off)
### The served model does emit reasoning
$ curl -s http://localhost:8000/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{"model":"nemotron-3-super","messages":[{"role":"user","content":"Say hello"}],"max_tokens":20}'
"content": null,
"finish_reason": "length",
"reasoning": "We are to say hello.\n The instruction is simple: \"Say hello\"\n We'll output the string"
The same request at max_tokens=500 returns 149 completion tokens, roughly 130 of
them in `reasoning`, with content following.
Checklist
- [x] I confirmed this bug is reproducible
- [x] I searched existing issues and this is not a duplicate
✨ Thanks for the detailed report. The reproduction steps across multiple onboarding paths are clear. Maintainers will investigate why NEMOCLAW_REASONING=true is consumed during endpoint validation but not propagated to the container build environment and openclaw.json.