Files
codex/codex-rs/core/tests
T
pakrym-oai cbfd2a37cc Trim compaction input (#10374)
Two fixes:

1. Include trailing tool output in the total context size calculation.
Otherwise when checking whether compaction should run we ignore newly
added outputs.
2. Trim trailing tool output/tool calls until we can fit the request
into the model context size. Otherwise the compaction endpoint will fail
to compact. We only trim items that can be reproduced again by the model
(tool calls, tool call outputs).
cbfd2a37cc ยท 2026-02-02 19:03:11 -08:00
History
..
2025-07-12 16:53:55 -07:00
2026-02-02 19:03:11 -08:00