Severity: High β makes all non-MiniMax models unusable in subagents
OpenClaw version: 2026.4.9 (latest)
Description:
When spawning subagents using any provider other than minimax-portal (xAI, OpenRouter, Ollama), the subagent completes instantly with 0 tokens input, 0 tokens output and no response. The model never fires. This is reproducible every time.
Providers tested:
β’ xai/grok-3-mini β 0 tokens β
β’ openrouter/google/gemma-4-31b-it:free β 0 tokens β
β’ ollama/gemma4:26b β 0 tokens β
β’ minimax-portal/MiniMax-M2.7 β works β
Root cause evidence: GitHub issue #16277 confirms the subagent spawn code path ("embedded runner") doesn't properly route to configured non-default providers β model resolver works for openclaw models list but fails in the actual subagent spawn are affected
Direct API confirmation: curl tests to xAI, OpenRouter, and Ollama all return correct responses β the API keys and models work fine. The issue is entirely in OpenClaw's subagent routing layer.
What works: Main agent session handles all models correctly. Only subagent spawns.