mirror of
https://github.com/openai/codex.git
synced 2026-12-02 00:31:03 +00:00
## Why Enabling `multi_agent_v2` forced the V2 tool version before a fresh thread could use the model selected for its first turn. The shared runtime needs to support both V2 and V3 selections. ## What changed - Let the first turn select V2 or V3 from the active model, with V2 as the fallback when the shared runtime is enabled. - Pass the selected version to fresh and forked subagents, including through host-prepared child creation. - Report both selections as `v2` in app-server model metadata because they use the same runtime. ## Testing Extend integration tests to cover model switches between V2 and V3 before the first turn and V3 inheritance in fresh, forked, and host-prepared children. GitOrigin-RevId: de1fd9836d8cb3c4dc19805507462f4f5cfe3959