mirror of
https://github.com/openai/codex.git
synced 2026-11-19 22:30:42 +00:00
## Why Attached reviews used fixed evidence limits even when elastic budgeting was configured. This could reject a pending tool call whose exact arguments would fit within the review request's input budget. ## What changed Use the configured budgeting policy to prepare the pending action and permissions for attached reviews. With elastic budgeting enabled, check whether the exact call fits when enforcing the final request budget. ## Testing Add a regression test for a tool call that exceeds the fixed evidence limit. Elastic budgeting rejects it when the request budget is too small and preserves the original call when it fits. GitOrigin-RevId: 42cc4a8682a98badfe6be95434703500403e7118