Repository navigation
Closed as not planned
Closed as not planned
Copy link
Labels
area: local-modelsLocal model providers, downloads, launch, or connectivityarea: providersInference provider integrations and provider behaviorarea: sandboxOpenShell sandbox lifecycle, runtime, config, or recovery
Description
Description
openshell inference set updates the gateway's inference configuration but does not rewrite the model field in proxied API requests. As a result, the agent continues to use the original model set during onboarding, confirmed by asking the agent to self-identify and report its training cutoff date.
Additionally, nemoclaw my-nemoclaw status shows stale model info after openshell inference set because it reads from the local NemoClaw registry rather than the gateway state, leaving the two sources out of sync.
This may be related to #326 and #714.
Reproduction Steps
- Complete nemoclaw onboard with model nvidia/nemotron-3-super-120b-a12b
- Run openshell inference set --no-verify --provider nvidia-nim --model moonshotai/kimi-k2.5
- Verify gateway shows the new model: openshell inference get → confirms moonshotai/kimi-k2.5
- Connect to sandbox: nemoclaw my-nemoclaw connect
- Launch TUI: openclaw tui
- Ask the agent: what model are you? and what is your training data cutoff date?
Environment
Environment
- NemoClaw: v0.1.0
- OpenShell: 0.0.14
- macOS: Apple M4 Pro (arm64)
- Container runtime: Docker Desktop
- Provider: nvidia-nim (NVIDIA Endpoint API)
Debug Output
Will attach the log file after issue creationLogs
Expected behavior
The agent should be backed by moonshotai/kimi-k2.5 as configured via openshell inference set.
Actual behavior
The agent consistently identifies as nvidia/nemotron-3-super-120b-a12b. The gateway intercepts and forwards
inference requests (confirmed via nemoclaw my-nemoclaw logs) but does not rewrite the model field in the
proxied request body. The NVIDIA endpoint honors the model field sent by the agent
(nemotron-3-super-120b-a12b) rather than the model configured in the gateway.
Additional observations
- nemoclaw my-nemoclaw status also shows the stale original model after openshell inference set, because it
reads from the local NemoClaw registry (~/.nemoclaw/) which is only updated by nemoclaw onboard
- The only reliable way to switch models is to re-run nemoclaw onboard, which rewrites ~/.nemoclaw/config.json
inside the sandbox
Suggested fix
The OpenShell gateway proxy should rewrite the model field in forwarded POST /v1/chat/completions request
bodies to match the model configured via openshell inference set, regardless of what the agent sends.Checklist
- I confirmed this bug is reproducible
- I searched existing issues and this is not a duplicate
Metadata
Metadata
Assignees
Labels
area: local-modelsLocal model providers, downloads, launch, or connectivityarea: providersInference provider integrations and provider behaviorarea: sandboxOpenShell sandbox lifecycle, runtime, config, or recovery
Activity
arun-gupta commentedon Mar 23, 2026
Attached the debug log file
nemoclaw-debug.tar.gz
fix: expose full model catalog so openshell inference set can switch …
fix: expose full model catalog so openshell inference set can switch …
wscurran commentedon May 19, 2026
Thanks for the detailed report and repro, @arun-gupta. We are going to track this under #3175 for Sprint 5, since it captures the same core runtime-switch behavior:
openshell inference setchanges the gateway model, but the sandbox/OpenClaw path can still report or use the old model.I am closing this as a duplicate so the investigation stays centralized. The active follow-up is #3679, which is already linked to #3175.