A way to limit command executon tokens
Resolved 💬 1 comment Opened Feb 12, 2026 by zba Closed Mar 29, 2026
What variant of Codex are you using?
IDE Extension,
What feature would you like to see?
I found that if it run long build it uses llm to watch build process, and seems if there is long build with a lot of data just eat out tokens literally for nothing. I was at 10% of context and when it did docker compose up --build it become to "automatically compact context" , before build done (it also failed it, but may be because I finally stopped conversation)
Suggestion:
Limit head of build process, on "watch mode" (not sure how you call such task) just take "tail" not all data, for check step, and may be not place it to history (make agent decide ask it to record only errors and final lines to main thread ?) .
Additional information
_No response_
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗