Repository navigation
Description
Summary
On v0.0.108 — which includes #8719 and #8814 (the strict tool-call probe 256 → 1024 → 4096 escalation ladder) — onboarding the default Local Ollama model nemotron-3-nano:30b on a DGX Spark still fails at inference validation. The #8714 fix is present in the build but does not resolve this Spark failure mode.
Follow-up to #8714 (that fix is merged and in v0.0.108, but the QA Spark case is not resolved). The dev note on #8714 reads: "could not reproduce this host's QA Spark-specific case where 1024 also exhausts." This issue pins down what actually happens on the Spark.
Key finding — the Spark failure is NOT "exhausted at 1024"
The escalation to 4096 only triggers when the probe exhausts its token budget (still reasoning). On this Spark the 1024-token retry does not exhaust — the model finishes reasoning and emits the tool call as plain text (tool call leaked into plain text content). Because that is a malformed-output failure, not a budget-exhausted failure, the ladder never escalates to 4096 and onboarding aborts.
Observed probe sequence (identical across cold start, warm model, and a fresh ollama pull):
Loading Ollama model: nemotron-3-nano:30b
Chat Completions tool-call validation exhausted 256 tokens in reasoning; retrying with a 1024-token output budget...
Local Ollama endpoint validation failed.
Validation probe summary: Chat Completions API: tool call leaked into plain text content.
Onboarding exits 1 at step [3/8] Configuring inference provider. The 4096 escalation never appears in the output.
Environment
- NemoClaw v0.0.108 (source tag
v0.0.108; the deployedonboard-probesinclude the4096escalation) - DGX Spark GB10, aarch64, Ubuntu 24.04
- Ollama serving
nemotron-3-nano:30b(24 GB) onlocalhost:11434 - Reproduced 3×: cold model, warm model (
ollama psshowed it 100% GPU loaded), and afterollama rm+ freshollama pull(identical model digest)
Steps to Reproduce
- Install NemoClaw v0.0.108 on a DGX Spark with Ollama and
nemotron-3-nano:30bavailable. - Onboard Local Ollama with the default model (non-interactive), e.g.
NEMOCLAW_PROVIDER=ollama NEMOCLAW_MODEL=nemotron-3-nano:30b nemoclaw onboard --non-interactive --yes --fresh --name {sandbox} --yes-i-accept-third-party-software. - Observe step
[3/8]fail withtool call leaked into plain text content; onboarding aborts (exit 1). The escalation to 4096 never appears.
Expected
Onboarding the default Local Ollama model succeeds. The strict tool-call probe should handle the "tool call emitted as plain text" failure mode for this reasoning model (e.g. escalate budget on this shape too, or relax the structured-tool-call requirement), so onboarding completes.
Actual
Onboarding aborts at inference validation. The 1024 result is tool call leaked into plain text content (not exhausted), so the 4096 escalation is never reached.
Notes
- Validation itself works on this Spark: onboarding Local Ollama with
qwen2.5:0.5bsucceeds (reaches Ready). The failure is specific tonemotron-3-nano:30b's tool-call output shape. - fix(inference): escalate strict tool-call probe budget to 4096 tokens #8814's escalation targets the "still reasoning / exhausted" case; the observed Spark failure is a distinct "structured tool call not emitted (leaked into content)" case.
Activity
prekshivyas commentedon Aug 13, 2026
DGX Spark reproduction result
I attempted a live reproduction on 2026-08-13 and did not reproduce the reported tool-call leak.
Environment
nvidia-smi)nemotron-3-nano:30b, 31.6B Q4_K_Mb725f11174073334edd0c2ff396b8d4e66d7dab22a5a63717ccad5a08a270cf1a0f6c9d4c5d72a08641b2cd192d7181fc3f06a06(included inv0.0.108; the strict-probe files are identical between this commit and that tag)Method
I sent the current strict Chat Completions tool-call payload directly to the local Ollama OpenAI-compatible endpoint (
/v1/chat/completions): the same system/user messages, three function definitions,tool_choice: "required",temperature: 0, andstream: falseused by the NemoClaw probe. This was a direct API probe, not a complete onboarding run.Result
finish_reason: "tool_calls", emptycontent, and one structuredsessions_sendcall with{"message":"hello"}.llama-serverused approximately 26 GB on the GB10.Because the initial 256-token probe succeeded, the 1024/4096 retry ladder was never entered. This environment therefore provides no live evidence that expanding the retry predicate to include a plain-text tool-call leak fixes the reported failure.
Could QA provide the failing Spark's Ollama version and full
ollama listmodel digest? Those are the most likely variables to pin down a deterministic reproduction.prekshivyas commentedon Aug 13, 2026
Update: full v0.0.108 onboarding reproduction
I also ran the issue's full non-interactive onboarding flow from an isolated checkout at the exact
v0.0.108tag (9df101e8b6be81ca3604adfe75cb5fdfc524ff18):The run passed the reported failure point at [3/8] Configuring inference provider:
No 256 → 1024 → 4096 retry was needed, and no tool-call-leak diagnostic was emitted. The run proceeded through provider setup and sandbox creation;
openshell sandbox listreportsissue8979reproasReady.This confirms that the complete issue reproduction command also does not reproduce on the environment reported in my prior comment. The provider route was temporarily changed to this local Ollama model as part of onboarding, as the CLI warned.
hulynn commentedon Aug 14, 2026
Why this didn't reproduce for you: it's the ollama version, not the machine
I ran the exact NemoClaw strict Chat Completions tool-call probe (the 3-tool
sessions_send/memory_search/web_fetchpayload,tool_choice: "required",temperature: 0) againstnemotron-3-nano:30bon two clean DGX Sparks — same model digestb725f11174…, same GPU driver580.159.03— changing only the ollama version:ollama 0.32.8 → FAILS (the bug)
max_tokens=256→finish_reason=length, no tool call, ~1119 reasoning tokens (exhausts).max_tokens=1024and4096→ the tool call comes back as plain-text JSON incontent:{"name":"sessions_send","arguments":{"message":"hello"}}— no structuredtool_calls.That's exactly the reported "tool call leaked into plain text content."
ollama 0.32.11 (and 0.32.9 — the version you tested) → PASSES
tool_callsin ~102 tokens.So: 0.32.8 leaks the tool call at every budget; 0.32.9+ emits it structured. You reproduced on 0.32.9, which is why you saw a pass — the failing hosts are on 0.32.8.
Two takeaways:
Suggested direction: enforce a minimum ollama version (≥0.32.9) on the Local Ollama path — detect an older ollama (0.32.8) and warn/upgrade instead of silently using it. Please reopen.
merge: update #8979 fix to current main
fix(onboard): require Ollama 0.32.9 for tool calls (NVIDIA#9157)