Skip to content

Agents create folder structure but never write files — output truncated mid-response #501

Description

@CodHard845

Description

When asking the agent to launch specialized sub-agents to build a full project,
the agents create the folder structure correctly but leave all directories empty.
The terminal output also gets truncated mid-sentence before the agents finish responding.
The agent does not work in real time — it responds instantly with a partial plan
then stops, instead of actually executing the tasks step by step.

Using NVIDIA Cloud API key to run the moonshotai/kimi-k2.5 model (not local inference).

Expected: files written in /tmp/project by each specialized agent.
Got: 4 empty folders, truncated output, agent stops without error message.

Reproduction Steps

  1. Install NemoClaw and connect to sandbox: nemoclaw my-assistant connect
  2. Set model to moonshotai/kimi-k2.5 via NVIDIA Cloud API key during setup
  3. Run: openclaw agent --agent main -m "create folder structure in /tmp/project
    and launch 4 specialized agents in parallel to build a complete web app
    with crypto payments (ETH/LTC)" --session-id marketplace
  4. Observe: output gets truncated mid-sentence, agent stops without finishing
  5. Run: find /tmp/project -type f
  6. Result: empty output — folders exist but no files were written
  7. Tried reprompting with explicit instructions to write files: same result

Environment

OS: Ubuntu 24.04 (GitHub Codespaces on Azure, x86_64)

Node.js: v22.22.1

NemoClaw: 2026.3.11 (29dc654)

OpenClaw: 2026.3.11

Model: moonshotai/kimi-k2.5 via NVIDIA Cloud API key (not local inference)

Sandbox: Landlock + seccomp + netns

Policies: pypi, npm, telegram

RAM: 16GB (Codespaces free tier)

Docker: running inside Codespaces

Logs

<details>
<summary>Full logs</summary>

@CodHard845 ➜ /workspaces/codespaces-blank $ nemoclaw my-assistant logs
[1774030774.306] [gateway] [INFO ] [openshell_server::sandbox] Creating sandbox in Kubernetes
[1774030774.329] [gateway] [INFO ] [openshell_server::sandbox] Sandbox created in Kubernetes successfully
[1774030774.329] [gateway] [INFO ] [openshell_server::grpc] CreateSandbox request completed successfully
[1774030774.330] [gateway] [INFO ] [openshell_server::sandbox] Sandbox phase changed
[1774030774.591] [gateway] [INFO ] [openshell_server::sandbox] Sandbox phase changed
[1774030776.337] [sandbox] [INFO ] [openshell_sandbox] Starting sandbox command=["sleep", "infinity"]
[1774030776.337] [sandbox] [INFO ] [openshell_sandbox] Fetching sandbox policy via gRPC endpoint=https://openshell.openshell.svc.cluster.local:8080 sandbox_id=6ac9f7cc-0c8c-41d8-a9c0-088f1e0a4b6c
[1774030779.791] [gateway] [INFO ] [openshell_server::grpc] GetSandboxPolicy served from spec (backfilled version 1)
[1774030779.803] [gateway] [INFO ] [openshell_server::grpc] GetSandboxProviderEnvironment request completed successfully
[1774030779.858] [gateway] [INFO ] [openshell_server::sandbox] Sandbox phase changed
[1774030779.858] [gateway] [INFO ] [openshell_server::sandbox] Sandbox is now ready
[1774030779.795] [sandbox] [INFO ] [openshell_sandbox] Creating OPA engine from proto policy data
[1774030779.799] [sandbox] [INFO ] [openshell_sandbox] Validated 'sandbox' user exists in image
[1774030779.803] [sandbox] [INFO ] [openshell_sandbox] Fetched provider environment env_count=0
[1774030780.383] [gateway] [INFO ] [openshell_server::ssh_tunnel] SSH tunnel: connecting to sandbox
[1774030780.392] [gateway] [INFO ] [openshell_server::ssh_tunnel] SSH tunnel: TCP connected to sandbox
[1774030780.392] [gateway] [INFO ] [openshell_server::ssh_tunnel] SSH tunnel: sending NSSH1 handshake preface
[1774030780.392] [gateway] [INFO ] [openshell_server::ssh_tunnel] SSH tunnel: waiting for handshake response
[1774030780.392] [gateway] [INFO ] [openshell_server::ssh_tunnel] SSH tunnel: handshake response received
[1774030780.392] [gateway] [INFO ] [openshell_server::ssh_tunnel] SSH tunnel established
[1774030779.907] [sandbox] [INFO ] [openshell_sandbox] TLS termination enabled: ephemeral CA generated
[1774030779.908] [sandbox] [INFO ] [openshell_sandbox::sandbox::linux::netns] Creating network namespace host_veth=veth-h-1dd2ea0d namespace=sandbox-1dd2ea0d sandbox_veth=veth-s-1dd2ea0d
[1774030780.222] [sandbox] [INFO ] [openshell_sandbox::sandbox::linux::netns] Network namespace created host_ip=10.200.0.1 namespace=sandbox-1dd2ea0d sandbox_ip=10.200.0.2
[1774030780.223] [sandbox] [WARN ] [openshell_sandbox::sandbox::linux::netns] iptables not found; bypass detection rules will not be installed. Install the iptables package for proxy bypass diagnostics. namespace=sandbox-1dd2ea0d search_paths=["/usr/sbin/iptables", "/sbin/iptables", "/usr/bin/iptables"]
[1774030780.223] [sandbox] [INFO ] [openshell_sandbox] Fetching inference route bundle from gateway endpoint=https://openshell.openshell.svc.cluster.local:8080
[1774030780.268] [sandbox] [INFO ] [openshell_sandbox] Loaded inference route bundle revision=d1fba762150c532c route_count=0
[1774030780.268] [sandbox] [INFO ] [openshell_sandbox] Inference route bundle is empty; keeping routing enabled and waiting for refresh
[1774030780.268] [sandbox] [INFO ] [openshell_sandbox] Inference routing enabled with local execution route_count=0
[1774030780.272] [sandbox] [INFO ] [openshell_sandbox::proxy] Proxy listening (tcp) addr=10.200.0.1:3128
[1774030780.286] [sandbox] [INFO ] [openshell_sandbox::ssh] SSH server listening addr=0.0.0.0:2222
[1774030780.286] [sandbox] [INFO ] [openshell_sandbox] SSH server is ready to accept connections
[1774030780.292] [sandbox] [INFO ] [openshell_sandbox] Process started pid=25
[1774030780.392] [sandbox] [INFO ] [openshell_sandbox::ssh] SSH connection: reading handshake preface peer=10.42.0.8:55184
[1774030780.392] [sandbox] [INFO ] [openshell_sandbox::ssh] SSH connection: preface received, verifying peer=10.42.0.8:55184 preface_len=155
[1774030780.392] [sandbox] [INFO ] [openshell_sandbox::ssh] SSH handshake accepted peer=10.42.0.8:55184
[1774030788.741] [gateway] [INFO ] [openshell_server::ssh_tunnel] SSH tunnel: connecting to sandbox
[1774030788.748] [gateway] [INFO ] [openshell_server::ssh_tunnel] SSH tunnel: TCP connected to sandbox
[1774030788.748] [gateway] [INFO ] [openshell_server::ssh_tunnel] SSH tunnel: sending NSSH1 handshake preface
[1774030788.748] [gateway] [INFO ] [openshell_server::ssh_tunnel] SSH tunnel: waiting for handshake response
[1774030788.750] [gateway] [INFO ] [openshell_server::ssh_tunnel] SSH tunnel: handshake response received
[1774030788.750] [gateway] [INFO ] [openshell_server::ssh_tunnel] SSH tunnel established
[1774030788.750] [sandbox] [INFO ] [openshell_sandbox::ssh] SSH connection: reading handshake preface peer=10.42.0.8:38536
[1774030788.750] [sandbox] [INFO ] [openshell_sandbox::ssh] SSH connection: preface received, verifying peer=10.42.0.8:38536 preface_len=155
[1774030788.750] [sandbox] [INFO ] [openshell_sandbox::ssh] SSH handshake accepted peer=10.42.0.8:38536
[1774030792.703] [sandbox] [INFO ] [openshell_sandbox::proxy] CONNECT action=deny ancestors=/usr/local/bin/node -> /opt/openshell/bin/openshell-sandbox binary=/usr/local/bin/node binary_pid=95 cmdline=- dst_host=registry.npmjs.org dst_port=443 engine=opa policy=- proxy_addr=10.200.0.1:3128 reason=endpoint registry.npmjs.org:443 not in policy 'claude_code'; endpoint registry.npmjs.org:443 not in policy 'clawhub'; endpoint registry.npmjs.org:443 not in policy 'github'; endpoint registry.npmjs.org:443 not in policy 'nvidia'; endpoint registry.npmjs.org:443 not in policy 'openclaw_api'; endpoint registry.npmjs.org:443 not in policy 'openclaw_docs'; endpoint registry.npmjs.org:443 not in policy 'telegram'; binary '/usr/local/bin/node' (ancestors: [/usr/local/bin/node -> /opt/openshell/bin/openshell-sandbox], cmdline: []) not allowed in policy 'npm_registry' src_addr=10.200.0.2 src_port=60600
[1774030800.322] [gateway] [INFO ] [openshell_server::grpc] SubmitPolicyAnalysis: persisted draft chunks
[1774030800.314] [sandbox] [INFO ] [openshell_sandbox] Flushed denial analysis to gateway proposals=1 sandbox_name=my-assistant summaries=1
[1774031365.316] [gateway] [INFO ] [openshell_server::ssh_tunnel] SSH tunnel: connecting to sandbox
[1774031365.318] [gateway] [INFO ] [openshell_server::ssh_tunnel] SSH tunnel: TCP connected to sandbox
[1774031365.318] [gateway] [INFO ] [openshell_server::ssh_tunnel] SSH tunnel: sending NSSH1 handshake preface
[1774031365.318] [gateway] [INFO ] [openshell_server::ssh_tunnel] SSH tunnel: waiting for handshake response
[1774031365.319] [gateway] [INFO ] [openshell_server::ssh_tunnel] SSH tunnel: handshake response received
[1774031365.319] [gateway] [INFO ] [openshell_server::ssh_tunnel] SSH tunnel established
[1774031365.317] [sandbox] [INFO ] [openshell_sandbox] Inference routes updated revision=c9769d6377d8c6a5 system_route_count=0 user_route_count=1
[1774031365.318] [sandbox] [INFO ] [openshell_sandbox::ssh] SSH connection: reading handshake preface peer=10.42.0.8:35212
[1774031365.318] [sandbox] [INFO ] [openshell_sandbox::ssh] SSH connection: preface received, verifying peer=10.42.0.8:35212 preface_len=155
[1774031365.319] [sandbox] [INFO ] [openshell_sandbox::ssh] SSH handshake accepted peer=10.42.0.8:35212
[1774031505.325] [gateway] [INFO ] [openshell_server::ssh_tunnel] SSH tunnel: connecting to sandbox
[1774031505.326] [gateway] [INFO ] [openshell_server::ssh_tunnel] SSH tunnel: TCP connected to sandbox
[1774031505.326] [gateway] [INFO ] [openshell_server::ssh_tunnel] SSH tunnel: sending NSSH1 handshake preface
[1774031505.326] [gateway] [INFO ] [openshell_server::ssh_tunnel] SSH tunnel: waiting for handshake response
[1774031505.327] [gateway] [INFO ] [openshell_server::ssh_tunnel] SSH tunnel: handshake response received
[1774031505.327] [gateway] [INFO ] [openshell_server::ssh_tunnel] SSH tunnel established
[1774031505.327] [sandbox] [INFO ] [openshell_sandbox::ssh] SSH connection: reading handshake preface peer=10.42.0.8:55704
[1774031505.327] [sandbox] [INFO ] [openshell_sandbox::ssh] SSH connection: preface received, verifying peer=10.42.0.8:55704 preface_len=155
[1774031505.327] [sandbox] [INFO ] [openshell_sandbox::ssh] SSH handshake accepted peer=10.42.0.8:55704
[1774031602.320] [sandbox] [INFO ] [openshell_sandbox::proxy] Intercepted inference request, routing locally kind=chat_completion method=POST path=/v1/chat/completions protocol=openai_chat_completions
[1774031602.320] [sandbox] [INFO ] [openshell_router] routing proxy inference request (streaming) endpoint=https://integrate.api.nvidia.com/v1 method=POST path=/v1/chat/completions protocols=openai_chat_completions,openai_completions,openai_responses,model_discovery
[1774031606.511] [sandbox] [INFO ] [openshell_sandbox::proxy] Intercepted inference request, routing locally kind=chat_completion method=POST path=/v1/chat/completions protocol=openai_chat_completions
[1774031606.511] [sandbox] [INFO ] [openshell_router] routing proxy inference request (streaming) endpoint=https://integrate.api.nvidia.com/v1 method=POST path=/v1/chat/completions protocols=openai_chat_completions,openai_completions,openai_responses,model_discovery
[1774031723.867] [gateway] [INFO ] [openshell_server::ssh_tunnel] SSH tunnel: connecting to sandbox
[1774031723.869] [gateway] [INFO ] [openshell_server::ssh_tunnel] SSH tunnel: TCP connected to sandbox
[1774031723.869] [gateway] [INFO ] [openshell_server::ssh_tunnel] SSH tunnel: sending NSSH1 handshake preface
[1774031723.869] [gateway] [INFO ] [openshell_server::ssh_tunnel] SSH tunnel: waiting for handshake response
[1774031723.869] [gateway] [INFO ] [openshell_server::ssh_tunnel] SSH tunnel: handshake response received
[1774031723.870] [gateway] [INFO ] [openshell_server::ssh_tunnel] SSH tunnel established
[1774031723.869] [sandbox] [INFO ] [openshell_sandbox::ssh] SSH connection: reading handshake preface peer=10.42.0.8:42374
[1774031723.869] [sandbox] [INFO ] [openshell_sandbox::ssh] SSH connection: preface received, verifying peer=10.42.0.8:42374 preface_len=155
[1774031723.869] [sandbox] [INFO ] [openshell_sandbox::ssh] SSH handshake accepted peer=10.42.0.8:42374
[1774031779.584] [sandbox] [INFO ] [openshell_sandbox::proxy] Intercepted inference request, routing locally kind=chat_completion method=POST path=/v1/chat/completions protocol=openai_chat_completions
[1774031779.585] [sandbox] [INFO ] [openshell_router] routing proxy inference request (streaming) endpoint=https://integrate.api.nvidia.com/v1 method=POST path=/v1/chat/completions protocols=openai_chat_completions,openai_completions,openai_responses,model_discovery
[1774031839.587] [sandbox] [WARN ] [openshell_sandbox::proxy] error reading upstream response chunk error=upstream protocol error: failed to read response chunk: error decoding response body
[1774032063.244] [sandbox] [INFO ] [openshell_sandbox::proxy] Intercepted inference request, routing locally kind=chat_completion method=POST path=/v1/chat/completions protocol=openai_chat_completions
[1774032063.244] [sandbox] [INFO ] [openshell_router] routing proxy inference request (streaming) endpoint=https://integrate.api.nvidia.com/v1 method=POST path=/v1/chat/completions protocols=openai_chat_completions,openai_completions,openai_responses,model_discovery
[1774032082.377] [sandbox] [INFO ] [openshell_sandbox::proxy] Intercepted inference request, routing locally kind=chat_completion method=POST path=/v1/chat/completions protocol=openai_chat_completions
[1774032082.377] [sandbox] [INFO ] [openshell_router] routing proxy inference request (streaming) endpoint=https://integrate.api.nvidia.com/v1 method=POST path=/v1/chat/completions protocols=openai_chat_completions,openai_completions,openai_responses,model_discovery
[1774032102.152] [sandbox] [INFO ] [openshell_sandbox::proxy] Intercepted inference request, routing locally kind=chat_completion method=POST path=/v1/chat/completions protocol=openai_chat_completions
[1774032102.152] [sandbox] [INFO ] [openshell_router] routing proxy inference request (streaming) endpoint=https://integrate.api.nvidia.com/v1 method=POST path=/v1/chat/completions protocols=openai_chat_completions,openai_completions,openai_responses,model_discovery
[1774032110.215] [sandbox] [INFO ] [openshell_sandbox::proxy] Intercepted inference request, routing locally kind=chat_completion method=POST path=/v1/chat/completions protocol=openai_chat_completions
[1774032110.215] [sandbox] [INFO ] [openshell_router] routing proxy inference request (streaming) endpoint=https://integrate.api.nvidia.com/v1 method=POST path=/v1/chat/completions protocols=openai_chat_completions,openai_completions,openai_responses,model_discovery
[1774032115.567] [sandbox] [INFO ] [openshell_sandbox::proxy] Intercepted inference request, routing locally kind=chat_completion method=POST path=/v1/chat/completions protocol=openai_chat_completions
[1774032115.567] [sandbox] [INFO ] [openshell_router] routing proxy inference request (streaming) endpoint=https://integrate.api.nvidia.com/v1 method=POST path=/v1/chat/completions protocols=openai_chat_completions,openai_completions,openai_responses,model_discovery
[1774032118.789] [sandbox] [INFO ] [openshell_sandbox::proxy] Intercepted inference request, routing locally kind=chat_completion method=POST path=/v1/chat/completions protocol=openai_chat_completions
[1774032118.789] [sandbox] [INFO ] [openshell_router] routing proxy inference request (streaming) endpoint=https://integrate.api.nvidia.com/v1 method=POST path=/v1/chat/completions protocols=openai_chat_completions,openai_completions,openai_responses,model_discovery
[1774032123.851] [sandbox] [INFO ] [openshell_sandbox::proxy] Intercepted inference request, routing locally kind=chat_completion method=POST path=/v1/chat/completions protocol=openai_chat_completions
[1774032123.851] [sandbox] [INFO ] [openshell_router] routing proxy inference request (streaming) endpoint=https://integrate.api.nvidia.com/v1 method=POST path=/v1/chat/completions protocols=openai_chat_completions,openai_completions,openai_responses,model_discovery
[1774032135.580] [sandbox] [INFO ] [openshell_sandbox::proxy] Intercepted inference request, routing locally kind=chat_completion method=POST path=/v1/chat/completions protocol=openai_chat_completions
[1774032135.580] [sandbox] [INFO ] [openshell_router] routing proxy inference request (streaming) endpoint=https://integrate.api.nvidia.com/v1 method=POST path=/v1/chat/completions protocols=openai_chat_completions,openai_completions,openai_responses,model_discovery
[1774032195.582] [sandbox] [WARN ] [openshell_sandbox::proxy] error reading upstream response chunk error=upstream protocol error: failed to read response chunk: error decoding response body
[1774032371.802] [sandbox] [INFO ] [openshell_sandbox::proxy] Intercepted inference request, routing locally kind=chat_completion method=POST path=/v1/chat/completions protocol=openai_chat_completions
[1774032371.802] [sandbox] [INFO ] [openshell_router] routing proxy inference request (streaming) endpoint=https://integrate.api.nvidia.com/v1 method=POST path=/v1/chat/completions protocols=openai_chat_completions,openai_completions,openai_responses,model_discovery
[1774032431.804] [sandbox] [WARN ] [openshell_sandbox::proxy] error reading upstream response chunk error=upstream protocol error: failed to read response chunk: error decoding response body
[1774032431.816] [sandbox] [INFO ] [openshell_sandbox::proxy] Intercepted inference request, routing locally kind=chat_completion method=POST path=/v1/chat/completions protocol=openai_chat_completions
[1774032431.816] [sandbox] [INFO ] [openshell_router] routing proxy inference request (streaming) endpoint=https://integrate.api.nvidia.com/v1 method=POST path=/v1/chat/completions protocols=openai_chat_completions,openai_completions,openai_responses,model_discovery
[1774032436.701] [sandbox] [INFO ] [openshell_sandbox::proxy] Intercepted inference request, routing locally kind=chat_completion method=POST path=/v1/chat/completions protocol=openai_chat_completions
[1774032436.701] [sandbox] [INFO ] [openshell_router] routing proxy inference request (streaming) endpoint=https://integrate.api.nvidia.com/v1 method=POST path=/v1/chat/completions protocols=openai_chat_completions,openai_completions,openai_responses,model_discovery
[1774032440.222] [sandbox] [INFO ] [openshell_sandbox::proxy] Intercepted inference request, routing locally kind=chat_completion method=POST path=/v1/chat/completions protocol=openai_chat_completions
[1774032440.222] [sandbox] [INFO ] [openshell_router] routing proxy inference request (streaming) endpoint=https://integrate.api.nvidia.com/v1 method=POST path=/v1/chat/completions protocols=openai_chat_completions,openai_completions,openai_responses,model_discovery
[1774032443.822] [sandbox] [INFO ] [openshell_sandbox::proxy] Intercepted inference request, routing locally kind=chat_completion method=POST path=/v1/chat/completions protocol=openai_chat_completions
[1774032443.822] [sandbox] [INFO ] [openshell_router] routing proxy inference request (streaming) endpoint=https://integrate.api.nvidia.com/v1 method=POST path=/v1/chat/completions protocols=openai_chat_completions,openai_completions,openai_responses,model_discovery
[1774032478.905] [sandbox] [INFO ] [openshell_sandbox::proxy] Intercepted inference request, routing locally kind=chat_completion method=POST path=/v1/chat/completions protocol=openai_chat_completions
[1774032478.905] [sandbox] [INFO ] [openshell_router] routing proxy inference request (streaming) endpoint=https://integrate.api.nvidia.com/v1 method=POST path=/v1/chat/completions protocols=openai_chat_completions,openai_completions,openai_responses,model_discovery
[1774032486.527] [sandbox] [INFO ] [openshell_sandbox::proxy] Intercepted inference request, routing locally kind=chat_completion method=POST path=/v1/chat/completions protocol=openai_chat_completions
[1774032486.527] [sandbox] [INFO ] [openshell_router] routing proxy inference request (streaming) endpoint=https://integrate.api.nvidia.com/v1 method=POST path=/v1/chat/completions protocols=openai_chat_completions,openai_completions,openai_responses,model_discovery
[1774032489.831] [sandbox] [INFO ] [openshell_sandbox::proxy] Intercepted inference request, routing locally kind=chat_completion method=POST path=/v1/chat/completions protocol=openai_chat_completions
[1774032489.831] [sandbox] [INFO ] [openshell_router] routing proxy inference request (streaming) endpoint=https://integrate.api.nvidia.com/v1 method=POST path=/v1/chat/completions protocols=openai_chat_completions,openai_completions,openai_responses,model_discovery
[1774032494.526] [sandbox] [INFO ] [openshell_sandbox::proxy] Intercepted inference request, routing locally kind=chat_completion method=POST path=/v1/chat/completions protocol=openai_chat_completions
[1774032494.526] [sandbox] [INFO ] [openshell_router] routing proxy inference request (streaming) endpoint=https://integrate.api.nvidia.com/v1 method=POST path=/v1/chat/completions protocols=openai_chat_completions,openai_completions,openai_responses,model_discovery
[1774032497.274] [sandbox] [INFO ] [openshell_sandbox::proxy] Intercepted inference request, routing locally kind=chat_completion method=POST path=/v1/chat/completions protocol=openai_chat_completions
[1774032497.274] [sandbox] [INFO ] [openshell_router] routing proxy inference request (streaming) endpoint=https://integrate.api.nvidia.com/v1 method=POST path=/v1/chat/completions protocols=openai_chat_completions,openai_completions,openai_responses,model_discovery
[1774032500.931] [sandbox] [INFO ] [openshell_sandbox::proxy] Intercepted inference request, routing locally kind=chat_completion method=POST path=/v1/chat/completions protocol=openai_chat_completions
[1774032500.931] [sandbox] [INFO ] [openshell_router] routing proxy inference request (streaming) endpoint=https://integrate.api.nvidia.com/v1 method=POST path=/v1/chat/completions protocols=openai_chat_completions,openai_completions,openai_responses,model_discovery
[1774032506.319] [sandbox] [INFO ] [openshell_sandbox::proxy] Intercepted inference request, routing locally kind=chat_completion method=POST path=/v1/chat/completions protocol=openai_chat_completions
[1774032506.319] [sandbox] [INFO ] [openshell_router] routing proxy inference request (streaming) endpoint=https://integrate.api.nvidia.com/v1 method=POST path=/v1/chat/completions protocols=openai_chat_completions,openai_completions,openai_responses,model_discovery
[1774032509.565] [sandbox] [INFO ] [openshell_sandbox::proxy] Intercepted inference request, routing locally kind=chat_completion method=POST path=/v1/chat/completions protocol=openai_chat_completions
[1774032509.565] [sandbox] [INFO ] [openshell_router] routing proxy inference request (streaming) endpoint=https://integrate.api.nvidia.com/v1 method=POST path=/v1/chat/completions protocols=openai_chat_completions,openai_completions,openai_responses,model_discovery
[1774032512.186] [sandbox] [INFO ] [openshell_sandbox::proxy] Intercepted inference request, routing locally kind=chat_completion method=POST path=/v1/chat/completions protocol=openai_chat_completions
[1774032512.186] [sandbox] [INFO ] [openshell_router] routing proxy inference request (streaming) endpoint=https://integrate.api.nvidia.com/v1 method=POST path=/v1/chat/completions protocols=openai_chat_completions,openai_completions,openai_responses,model_discovery
[1774032546.363] [sandbox] [INFO ] [openshell_sandbox::proxy] Intercepted inference request, routing locally kind=chat_completion method=POST path=/v1/chat/completions protocol=openai_chat_completions
[1774032546.363] [sandbox] [INFO ] [openshell_router] routing proxy inference request (streaming) endpoint=https://integrate.api.nvidia.com/v1 method=POST path=/v1/chat/completions protocols=openai_chat_completions,openai_completions,openai_responses,model_discovery
[1774032586.906] [sandbox] [INFO ] [openshell_sandbox::proxy] Intercepted inference request, routing locally kind=chat_completion method=POST path=/v1/chat/completions protocol=openai_chat_completions
[1774032586.906] [sandbox] [INFO ] [openshell_router] routing proxy inference request (streaming) endpoint=https://integrate.api.nvidia.com/v1 method=POST path=/v1/chat/completions protocols=openai_chat_completions,openai_completions,openai_responses,model_discovery
[1774032599.976] [sandbox] [INFO ] [openshell_sandbox::proxy] Intercepted inference request, routing locally kind=chat_completion method=POST path=/v1/chat/completions protocol=openai_chat_completions
[1774032599.976] [sandbox] [INFO ] [openshell_router] routing proxy inference request (streaming) endpoint=https://integrate.api.nvidia.com/v1 method=POST path=/v1/chat/completions protocols=openai_chat_completions,openai_completions,openai_responses,model_discovery
[1774033006.912] [sandbox] [INFO ] [openshell_sandbox::proxy] Intercepted inference request, routing locally kind=chat_completion method=POST path=/v1/chat/completions protocol=openai_chat_completions
[1774033006.912] [sandbox] [INFO ] [openshell_router] routing proxy inference request (streaming) endpoint=https://integrate.api.nvidia.com/v1 method=POST path=/v1/chat/completions protocols=openai_chat_completions,openai_completions,openai_responses,model_discovery
[1774033066.913] [sandbox] [WARN ] [openshell_sandbox::proxy] error reading upstream response chunk error=upstream protocol error: failed to read response chunk: error decoding response body
[1774033066.921] [sandbox] [INFO ] [openshell_sandbox::proxy] Intercepted inference request, routing locally kind=chat_completion method=POST path=/v1/chat/completions protocol=openai_chat_completions
[1774033066.921] [sandbox] [INFO ] [openshell_router] routing proxy inference request (streaming) endpoint=https://integrate.api.nvidia.com/v1 method=POST path=/v1/chat/completions protocols=openai_chat_completions,openai_completions,openai_responses,model_discovery
[1774033096.605] [sandbox] [INFO ] [openshell_sandbox::proxy] Intercepted inference request, routing locally kind=chat_completion method=POST path=/v1/chat/completions protocol=openai_chat_completions
[1774033096.605] [sandbox] [INFO ] [openshell_router] routing proxy inference request (streaming) endpoint=https://integrate.api.nvidia.com/v1 method=POST path=/v1/chat/completions protocols=openai_chat_completions,openai_completions,openai_responses,model_discovery
[1774033131.058] [sandbox] [INFO ] [openshell_sandbox::proxy] Intercepted inference request, routing locally kind=chat_completion method=POST path=/v1/chat/completions protocol=openai_chat_completions
[1774033131.058] [sandbox] [INFO ] [openshell_router] routing proxy inference request (streaming) endpoint=https://integrate.api.nvidia.com/v1 method=POST path=/v1/chat/completions protocols=openai_chat_completions,openai_completions,openai_responses,model_discovery
@CodHard845 ➜ /workspaces/codespaces-blank $ 

</details>

Checklist

  • I confirmed this bug is reproducible
  • I searched existing issues and this is not a duplicate

Activity

  1. marctheshark3 commented on Mar 21, 2026

    @marctheshark3

    I can reproduce what looks like the same issue on March 20, 2026
    with NemoClaw/OpenShell using provider nvidia-nim and model
    nvidia/nemotron-3-super-120b-a12b.

    What I verified:

    • Direct call to NVIDIA works
    • Same kind of request through NemoClaw/OpenClaw fails in the
      sandbox proxy

    Direct NVIDIA test:

    • curl https://integrate.api.nvidia.com/v1/chat/completions wi
      th stream: true completed successfully
    • It streamed chunks, returned usage, and ended with [DONE]

    NemoClaw/OpenClaw path:

    • Sandbox: grid
    • openshell -g nemoclaw inference get shows:
      • Provider: nvidia-nim
      • Model: nvidia/nemotron-3-super-120b-a12b

    Relevant logs from the failing path:

    • Intercepted inference request, routing locally kind=chat_completion method=POST path=/v1/chat/completions protocol=openai_chat_completions
    • routing proxy inference request (streaming) endpoint=https:// integrate.api.nvidia.com/v1 method=POST path=/v1/chat/ completions
    • error reading upstream response chunk error=upstream protocol error: failed to read response chunk: error decoding response body

    Example timestamps from one repro:

    • request routed at 1774055652.887
    • failure at 1774055685.862

    So in my case this does not appear to be an NVIDIA hard timeout
    or a model “thinking too long” problem. Direct streaming to
    NVIDIA succeeds. The failure seems to be in the OpenShell/
    NemoClaw streamed proxy path while reading upstream response
    chunks.

  2. added
    platform: ubuntu
    and removed on Mar 25, 2026
  3. self-assigned this
    on Apr 12, 2026
  4. removed their assignment
    on Apr 24, 2026
  5. added
    provider: nvidia
    and removed on May 19, 2026
  6. added
    area: cli
    area: inference
    area: providers
    enhancement
    and removed on Jun 3, 2026
  7. added theissue type on Jun 8, 2026
  8. changed the issue type fromtoon Jun 8, 2026
  9. removed
    enhancement
    on Jun 8, 2026
  10. latenighthackathon commented on Jun 24, 2026

    @latenighthackathon
    Collaborator

    Hi @CodHard845, thanks for raising this. This one has been open a while: 67 releases have shipped since it was filed (we are now on v0.0.67), and it looks like it may have been patched via ai-openshell/openshell#834, which stopped a 60s proxy timeout from silently truncating large streamed inference responses (the empty-files / mid-response cutoff). Could you check to confirm it fixes your issue on the latest version? Closing this for now, but if you are still seeing it, feel free to reopen. Cheers!

  11. added
    needs: info
    on Jun 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: cliarea: inferencearea: providersneeds: infoplatform: ubuntuprovider: nvidia

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions