Skip to content

[All Platforms][Inference] Deep Agents (dcode) onboard on Ollama truncates a colon model tag in config.toml — qwen2.5:7b becomes "7b" (name lost) #6325

Description

@hulynn

Description

On nemoclaw v0.0.74, onboarding a Deep Agents (dcode / langchain-deepagents-code) sandbox on a local Ollama model whose tag contains a colon (e.g. qwen2.5:7b) writes a truncated model name into the agent config: dcode's /sandbox/.deepagents/config.toml ends up with default = "openai:7b" and models = ["7b"] — the part before the colon (qwen2.5) is dropped. The host-level model (nemoclaw list / status) correctly shows the full tag qwen2.5:7b; only the in-sandbox dcode config is truncated.

Impact is low on a single-model host (the short name still resolves), but on a host serving more than one Ollama model the truncated 7b is ambiguous and can resolve to the wrong model. Reported as low severity.

Platform scope: Config-generation defect, platform-independent — observed on Ubuntu 26.04 (qwen2.5:7b) and Ubuntu 24.04 (qwen3.5:9b) with v0.0.74.

Regression: Unknown — earlier versions not tested for this specific case.

Environment

Device:        Ubuntu 26.04 server (RTX PRO 6000 Blackwell)
OS:            Ubuntu 26.04 LTS
Architecture:  x86_64
Node.js:       v22.23.1
npm:           10.9.8
Docker:        29.5.3
OpenShell CLI: 0.0.72
NemoClaw:      v0.0.74
OpenClaw:      N/A (Deep Agents / langchain-deepagents-code sandbox)

Steps to Reproduce

  1. Have a local Ollama model with a colon tag available on the host, e.g. qwen2.5:7b.
  2. Onboard a Deep Agents sandbox on the local Ollama provider so it picks that model:
    NEMOCLAW_PROVIDER=ollama nemoclaw onboard --agent dcode --name {name} --non-interactive --fresh --yes
  3. Compare the host-level model tag with what dcode wrote into its config:
    nemoclaw {name} status
    nemoclaw {name} exec -- grep -E "default|models" /sandbox/.deepagents/config.toml

Expected Result

dcode's config.toml keeps the full Ollama tag (qwen2.5:7b), matching the host-level model, so the model reference is unambiguous.

Actual Result

Host-level tag (nemoclaw list): qwen2.5:7b

In-sandbox /sandbox/.deepagents/config.toml:

default = "openai:7b"
models  = ["7b"]

The qwen2.5 before the colon is dropped; only 7b is kept.

Logs

host model tag: qwen2.5:7b
config.toml default = "openai:7b"
config.toml models  = ["7b"]

Metadata

Metadata

Labels

NV QABugs found by the NVIDIA QA Teamarea: inferenceInference routing, serving, model selection, or outputsarea: local-modelsLocal model providers, downloads, launch, or connectivityintegration: dcodeLangChain Deep Code integration behaviorprovider: ollamaOllama local model provider behavior

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions