mirror of
https://github.com/openai/codex.git
synced 2026-10-27 18:48:37 +00:00
Remove the hard-coded 9,000-token cap for encrypted agent messages in both synchronous and asynchronous guardian context. Use `message_tokens` directly when converting the configured limit to a byte budget, allowing larger messages when the configured limit permits them. Messages that exceed the configured budget still produce an omission notice; encrypted content remains intact when retained. GitOrigin-RevId: a9032ca19102ebad44be8df1ac4d4892d4404ead