Description
On macOS with local Ollama, NemoClaw onboarding can complete successfully and the sandbox can be healthy, but openclaw tui can still fail in practice even when raw inference works.
In my case:
- host-side Ollama worked
- routed
https://inference.local/v1/* worked inside the sandbox
openclaw health --json was healthy
- one-shot
openclaw agent --session-id ... --message ... --json worked
- but
openclaw tui produced malformed tool calls for simple prompts like hello test
Expected behavior:
openclaw tui should reply normally to simple text prompts or recover cleanly from a bad tool call
Actual behavior:
- the TUI session emitted malformed tool calls such as
memory_search and sessions_spawn
- OpenClaw rejected them with schema validation errors
- the model then fell back to nonsense text instead of giving a normal response
[https://github.com//issues/1193](possibly similar issue)
Reproduction Steps
- Install and start local Ollama on macOS.
- Set:
OLLAMA_HOST=0.0.0.0:11434
OLLAMA_CONTEXT_LENGTH=8192
- Pull
llama3.1:8b.
- Run
nemoclaw onboard with local Ollama and create a sandbox.
- Verify the sandbox is healthy with
openclaw health --json.
- Verify one-shot agent calls work, for example:
openclaw agent --session-id smoke --message 'Reply with exactly: ok' --json --timeout 120
- Start the TUI:
- Enter a trivial prompt such as:
- Observe that the session emits malformed tool calls instead of a normal reply.
Environment
- OS: macOS 15.7.4
- Hardware: Apple M1 Pro, 16 GB unified memory
- Node.js: v22.22.2
- Docker: Docker version 29.3.1, build c2be9cc
- NemoClaw:
nemoclaw v0.1.0
- OpenClaw: 2026.3.11 (
29dc654)
- OpenShell: 0.0.19
- Ollama: 0.19.0
- Model:
llama3.1:8b
- Sandbox:
terabox
Debug Output
I ran:
nemoclaw debug --output /tmp/nemoclaw-debug.tar.gz
Attach this file to the issue:
`/tmp/nemoclaw-debug.tar.gz`
Optional quick summary from `nemoclaw debug --quick`:
- OpenShell gateway connected
- sandbox `terabox` phase: `Ready`
- OpenShell version: `0.0.19`
- sandbox was reachable and healthy during collection
Logs
Relevant TUI session log file:
`/sandbox/.openclaw/agents/main/sessions/584909a8-6f4c-4e07-9b52-f189608e35db.jsonl`
Relevant behavior:
- line 5: user message `hello test`
- line 6: malformed `memory_search` tool call
- line 7: OpenClaw rejects it with schema validation failure
- line 8: fallback nonsense text
- line 10: later simple `hi` triggers another invalid tool call (`sessions_spawn`)
Example bad tool call shape:
{
"name": "memory_search",
"arguments": {
"function": "memory_search",
"parameters": {
"query": "hello"
}
}
}
Checklist
Description
On macOS with local Ollama, NemoClaw onboarding can complete successfully and the sandbox can be healthy, but
openclaw tuican still fail in practice even when raw inference works.In my case:
https://inference.local/v1/*worked inside the sandboxopenclaw health --jsonwas healthyopenclaw agent --session-id ... --message ... --jsonworkedopenclaw tuiproduced malformed tool calls for simple prompts likehello testExpected behavior:
openclaw tuishould reply normally to simple text prompts or recover cleanly from a bad tool callActual behavior:
memory_searchandsessions_spawn[https://github.com//issues/1193](possibly similar issue)
Reproduction Steps
OLLAMA_HOST=0.0.0.0:11434OLLAMA_CONTEXT_LENGTH=8192llama3.1:8b.nemoclaw onboardwith local Ollama and create a sandbox.openclaw health --json.openclaw agent --session-id smoke --message 'Reply with exactly: ok' --json --timeout 120openclaw tuihello testEnvironment
nemoclaw v0.1.029dc654)llama3.1:8bteraboxDebug Output
Logs
Checklist