mirror of
https://github.com/openai/codex.git
synced 2026-11-21 22:50:37 +00:00
## Why Model catalogs could provide guidance for Plan and for Default after Plan, but had no field for the turns before the first Plan turn. ## What changed Add optional `collaboration_modes.initial` guidance. Codex uses it in Default before the first Plan turn when the field is nonempty and no caller-supplied instructions take precedence. ## Testing Add a request snapshot test that covers initial guidance on a new thread, retains it after resume, and verifies the switch to Plan guidance and then to Default guidance when leaving Plan. GitOrigin-RevId: bb9e83aeb60af54fc2ee1bf9ce5acbb8a354ffb8