sayan-oai and GitHub
e083b6c757
chore: apply truncation policy to unified_exec ( #19247 )
...
we were not respecting turn's `truncation_policy` to clamp output tokens
for `unified_exec` and `write_stdin`.
this meant truncation was only being applied by `ContextManager` before
the output was stored in-memory (so it _was_ being truncated from
model-visible context), but the full output was persisted to rollout on
disk.
now we respect that `truncation_policy` and `ContextManager`-level
truncation remains a backup.
### Tests
added tests, tested locally.
2026-04-24 00:17:39 -07:00
..
2026-04-18 11:01:12 -07:00
2026-04-21 17:48:33 -07:00
2026-03-27 19:00:44 -07:00
2026-03-27 19:00:44 -07:00
2026-04-12 18:36:03 -07:00
2026-04-23 11:54:17 -07:00
2026-04-23 14:12:09 -07:00
2026-04-03 15:03:21 -07:00
2026-04-22 17:00:48 +00:00
2026-04-23 11:54:17 -07:00
2026-04-23 11:54:17 -07:00
2026-04-20 10:27:01 -07:00
2026-04-23 11:54:17 -07:00
2026-04-22 13:34:33 -07:00
2026-04-22 13:34:33 -07:00
2026-04-23 11:54:17 -07:00
2026-04-16 17:37:15 -07:00
2026-04-23 11:54:17 -07:00
2026-04-14 20:48:01 -07:00
2026-04-21 17:48:33 -07:00
2026-04-12 18:36:03 -07:00
2026-04-23 07:33:57 +00:00
2026-04-22 21:20:09 -07:00
2026-04-23 11:54:17 -07:00
2026-04-23 11:54:17 -07:00
2026-04-16 18:18:07 +00:00
2026-04-23 11:54:17 -07:00
2025-12-23 19:29:32 -08:00
2026-04-23 11:54:17 -07:00
2026-04-20 11:51:55 +01:00
2026-04-23 07:33:57 +00:00
2026-04-22 13:34:33 -07:00
2026-04-23 11:54:17 -07:00
2026-04-23 11:54:17 -07:00
2026-04-23 11:54:17 -07:00
2026-04-23 11:54:17 -07:00
2026-04-23 07:33:57 +00:00
2026-04-23 14:12:09 -07:00
2026-04-22 13:34:33 -07:00
2026-04-23 11:54:17 -07:00
2026-04-23 14:12:09 -07:00
2026-04-20 10:27:01 -07:00
2026-04-24 04:28:25 +00:00
2026-04-23 14:08:40 -07:00
2026-04-23 11:54:17 -07:00
2026-04-22 01:08:25 +00:00
2026-04-21 17:48:33 -07:00
2026-04-21 17:48:33 -07:00
2026-04-22 21:34:22 +00:00
2026-04-24 04:28:25 +00:00
2026-04-21 17:48:33 -07:00
2026-04-23 11:54:17 -07:00
2026-04-23 23:02:18 -07:00
2026-04-23 11:54:17 -07:00
2026-04-23 11:54:17 -07:00
2026-04-22 17:00:29 -07:00
2026-04-22 13:34:33 -07:00
2026-04-22 13:34:33 -07:00
2026-04-23 11:54:17 -07:00
2026-04-09 18:44:26 +01:00
2026-04-23 11:54:17 -07:00
2026-04-21 17:48:33 -07:00
2026-04-20 10:27:01 -07:00
2026-04-20 10:27:01 -07:00
2026-04-23 11:54:17 -07:00
2026-04-23 11:54:17 -07:00
2026-04-23 11:54:17 -07:00
2026-04-24 04:28:25 +00:00
2026-04-23 11:54:17 -07:00
2026-04-21 17:48:33 -07:00
2026-04-21 17:48:33 -07:00
2026-04-23 18:54:45 +02:00
2026-04-23 11:54:17 -07:00
2026-04-23 11:54:17 -07:00
2026-04-20 10:27:01 -07:00
2026-04-21 17:48:33 -07:00
2026-04-23 11:54:17 -07:00
2026-03-11 12:33:09 -07:00
2026-04-20 10:27:01 -07:00
2026-04-24 00:17:39 -07:00
2026-04-01 23:06:24 -07:00
2026-04-21 17:48:33 -07:00
2026-04-23 11:54:17 -07:00
2026-04-23 11:54:17 -07:00
2026-04-20 10:27:01 -07:00
2026-04-23 11:54:17 -07:00
2026-04-21 17:48:33 -07:00