mirror of
https://github.com/openai/codex.git
synced 2026-10-31 19:28:49 +00:00
Expose `MAX_TEXT_PART_ESTIMATED_TOKENS` from `codex-guardian-context` and use it for native tool calls, transcript entries, and delivery-size assertions. Keep the existing 9,000-token limit while replacing duplicated limits in code and tests. GitOrigin-RevId: 90cb98eea9bade34f18db0d1666ed7ed1e93febe