mirror of
https://github.com/openai/codex.git
synced 2026-09-15 12:08:01 +00:00
- Run pre-sampling compact through a single helper that builds previous-model turn context and compacts before the follow-up request when switching to a smaller context window. - Keep compaction events on the parent turn id and add compact suite coverage for switch-in-session and resume+switch flows.