Hybrid Inference Timeout (Docker + Mac SSH Bridge)
Environment:
OpenClaw Version: 2026.4.16
Setup: OpenClaw Gateway running in Docker (Linux container) on Mac M4 Pro.
Connectivity: SSH Bridge to Mac Host for workspace access; Ollama running natively on Mac Host via host.docker.internal:11434.
Agent Stack: Primary (Gemini 3 Flash) -> Sub-agents (Ollama: DeepSeek-R1, Qwen 2.5 Coder).
The Problem:
When the Primary Agent attempts to use sessions_spawn to call a local sub-agent, the command often hangs or returns a timeout. I see Process still running and incomplete turn detected in the logs.
Config Snippet (openclaw.json):
JSON
{
"agents": {
"defaults": {
"subagents": { "allowAgents": ["*"] },
"timeoutSeconds": 180
},
"list": [
{ "id": "director", "model": "google/gemini-3-flash-preview" },
{ "id": "arquitecto", "model": "ollama/deepseek-r1:8b" }
]
}
}
Observations:
Permission allowAgents: ["*"] is active, but the transition from Cloud (Primary) to Local (Sub-agent) via sessions_spawn seems to hit a bottleneck.
Direct CLI commands like openclaw agents list inside the container sometimes hang or take >30s.
Is this a known issue with the Docker-to-Host network bridge latency or a potential deadlock when the agent calls the openclaw CLI from within its own execution context?