Codex App 26.715.9868.0 / CLI 0.145.0: spawn_agent rejects gpt-5.6-luna with multi_agent_v2 enabled
What version of the Codex App are you using (From “About Codex” dialog)?
26.715.9868.0 (Windows package version)
What subscription do you have?
ChatGPT account; exact subscription tier is not displayed in this session.
What platform is your computer?
Microsoft Windows 11 Pro, NT 10.0.26200.0, x64 (build 26200)
What issue are you seeing?
The Codex desktop app is configured to use the standalone Codex CLI 0.145.0 through CODEX_CLI_PATH. The desktop log confirms that it spawned the external executable, and codex --version returns codex-cli 0.145.0.
Both multi-agent flags are enabled:
multi_agent stable true
multi_agent_v2 stable true
After fully restarting the desktop app, an explicit native subagent request with Luna and xhigh reasoning is rejected:
{
"fork_turns": "none",
"model": "gpt-5.6-luna",
"reasoning_effort": "xhigh",
"task_name": "teste_luna_xhigh_v2"
}
Actual error:
Unknown model `gpt-5.6-luna` for spawn_agent. Available models: gpt-5.6-sol, gpt-5.6-terra
No child agent is created. The same result was reproduced after enabling MultiAgent V2 and restarting the app.
What steps can reproduce the bug?
- Install the official Windows x64 Codex CLI release 0.145.0.
- Point the Codex desktop app to it using
CODEX_CLI_PATH=%LOCALAPPDATA%\Programs\OpenAI\Codex\bin\codex.exe. - Verify
codex --versionreturnscodex-cli 0.145.0. - Run
codex features enable multi_agent_v2and verify bothmulti_agentandmulti_agent_v2are true. - Fully quit and reopen the Codex desktop app.
- In a desktop task, call the native
spawn_agenttool withfork_turns: "none",model: "gpt-5.6-luna", andreasoning_effort: "xhigh". - Observe the unknown-model error stating that only
gpt-5.6-solandgpt-5.6-terraare available.
What is the expected behavior?
If Luna is intended to be available for configurable MultiAgent V2 children on this account/backend, spawn_agent should accept gpt-5.6-luna with xhigh reasoning and create the child agent.
If Luna is intentionally unavailable because of an account, rollout, backend, or entitlement restriction, the app should expose that limitation clearly and document how users can determine or obtain the required availability. Currently the local feature is stable and enabled, but the requested model remains impossible to select.
Additional information
The 0.145.0 release notes describe configurable sub-agent models/reasoning in MultiAgent V2 and mention GPT-5.6 Terra and Luna variants, which led to the expectation that Luna could be selected when using the new release.
This appears distinct from #20077 (full-history inheritance/model override behavior) and #26753 (encrypted tool schema request failure): this report reaches the spawn_agent tool and is rejected specifically because Luna is absent from the active model catalog.
The issue was reproduced multiple times. No files were modified by the failed subagent calls, and no child agent was created.
15 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Additional cross-platform confirmation from native Codex CLI/TUI 0.145.0 on Ubuntu 24.04.4 under WSL2:
gpt-5.6-luna.spawn_agentwithfork_turns: "none",model: "gpt-5.6-luna", andreasoning_effort: "medium"is rejected with the same error:``
textgpt-5.6-lunaUnknown model
for spawn_agent. Available models: gpt-5.6-sol, gpt-5.6-terra
``gpt-5.6-solwithreasoning_effort: "max"gpt-5.6-terrawithreasoning_effort: "low"This specifically reproduces through native
spawn_agent, not top-level model selection orcodex exec --model. I originally filed #34909 with the full payload and am closing it as a duplicate of this issue.Additional Windows confirmation from a newer Codex Desktop package:
26.721.4979.00.145.019045multi_agent = truemulti_agent_v2 = falsegpt-5.6-luna.A native subagent request using
fork_turns: "none",model: "gpt-5.6-luna", andreasoning_effort: "low"is still rejected:No Luna child is created. This suggests the spawned-agent model allowlist mismatch remains present in Desktop 26.721.4979.0 / CLI 0.145.0, and is not limited to sessions with the opt-in
multi_agent_v2flag enabled.I traced this beyond the picker guard. #32751 is masking a real runtime mismatch, not resolving it.
Current V2 spawn first copies the parent config, then applies
model = gpt-5.6-luna. ButAgentControl::spawn_agent_internalresolves the child runtime from the parent/session path: explicit V2 config wins, otherwise it inherits the parent thread's V2 runtime. It does not resolve the selected child model'sModelInfo.multi_agent_version.So removing the #32751 filter would start a Luna child on the V2 runtime despite Luna being catalogued V1. That explains why the filter was added, but it also means the user-facing behavior regressed from “selectable” to a misleading “unknown model.”
There are two valid fixes, and they are materially different:
InterAgentCommunication/agent paths; V1 spawn usesUserInputand legacy completion flow. Merely selecting the V1 child runtime is insufficient.Could a maintainer confirm which of those is the intended product state? Separately, the current error should say “known model, incompatible multi-agent backend” rather than “Unknown model.”
Strong +1. I hit this exact limitation today:
spawn_agentacceptsgpt-5.6-solandgpt-5.6-terra, but rejectsgpt-5.6-luna. Luna should be available for delegated subagents, including configurable reasoning effort, rather than forcing users onto a different model.Additional macOS confirmation from a newer Codex Desktop / CLI build:
26.727.40816(bundle build6067,com.openai.codex)0.146.0-alpha.9.226.5.2(25F84), Apple Silicon (arm64)multi_agent = truemulti_agent_v2 = trueI reproduced this in a fresh read-only CLI session, rather than a resumed Desktop thread:
gpt-5.6-solmaxspawn_agentarguments:agent_type = "default"fork_turns = "none"model = "gpt-5.6-luna"reasoning_effort = "max"Actual result:
No child agent was created. This confirms that the spawned-agent Luna rejection persists in CLI
0.146.0-alpha.9.2and is not limited to the0.145.0builds previously reported here.Yup, this is happening to me too! Can only spawn with the CLI
Its kinda crazy this is still an open issue...
Yup, this staying around so long, plus other issues over the past few weeks with codex-cli made me switch to
piinstead. Not a 1-to-1 transition by far, but it doesn't have all these issues that codex introduced, _and_ it's easy to fix issues yourself/using an LLM sincepiis very extensible & open source. It also supports codex subscriptions out-of-the-box, (thank you OpenAI for explicitly allowing this!), so it's easy to get started withpiand a codex subscription :)Reproduced on macOS as well, with the current npm release.
Environment:
codex-cli 0.146.0multi_agent = truemulti_agent_v2 = true[agents] default_subagent_model = "gpt-5.6-luna"~/.codex/agents/luna.tomldeclaringmodel = "gpt-5.6-luna"andmodel_reasoning_effort = "high"After fully restarting Codex, the custom
lunaagent type was successfully discovered and appeared in the native agent catalog. Spawning it withagent_type = "luna"andfork_turns = "none"(with no explicit model override, so the profile owns model selection) still failed immediately with:No child was created. I also reproduced the same rejection from a fresh
codex execprocess after confirmingcodex features listreports bothmulti_agentandmulti_agent_v2as enabled.This suggests profile discovery/config parsing is working, while the child dispatcher model catalog remains limited to Sol/Terra. It is therefore not Windows-specific and persists in CLI 0.146.0.
Confirming the same model-catalog versus subagent-allowlist mismatch from a Codex Desktop task attached to a Linux host.
Environment:
The freshly fetched local model catalog lists gpt-5.6-luna with visibility=list, and Luna is selectable as the primary agent in the ChatGPT/Codex model selector. However, the spawn_agent contract generated for this task exposes only gpt-5.6-sol and gpt-5.6-terra as valid model overrides; gpt-5.6-luna is absent.
This indicates that primary-model availability and the subagent worker allowlist are diverging. There is no local config key in this environment that controls that allowlist. We are using Terra workers as a temporary fallback.
Same here. Just commenting for visibility, as it's been 3 weeks and this is still open.
I can reproduce the same model-catalog mismatch on a newer Windows Codex Desktop build.
Environment:
26.803.8161.0(read from the installed Windows package path)C:\Program Files\WindowsApps\...is access-restricted from the tool shellCurrent behavior in the same Desktop session:
collaboration.spawn_agenttool schema exposes only these explicit model overrides:gpt-5.6-solandgpt-5.6-terra.gpt-5.6-lunais absent from that schema/allowlist, so a Luna child agent cannot be selected even though Luna is selectable for the parent thread.This is therefore still reproducible on Desktop package
26.803.8161.0, newer than the originally reported26.715.9868.0. The mismatch appears to be between the Desktop model catalog/picker and the model allowlist supplied to nativespawn_agent, rather than a user prompt or reasoning-effort error.Official model guidance also lists
gpt-5.6-lunaand says GPT-5.6 supports Max reasoning: https://developers.openai.com/api/docs/guides/latest-modelsame problem
+1. please get this done.