Won Park
9d82334302
Use Guardian model limits for review sessions ( #34847 )
...
## Why
Parent context-window and auto-compaction overrides may describe a different
model than the one selected for Guardian review.
## What changed
- Clear `model_context_window` and `model_auto_compact_token_limit` when the
effective Guardian model differs from the parent model, allowing the review
model's own limits to apply.
- Preserve those overrides when Guardian uses the same effective model.
## Testing
Add unit coverage for both model-selection paths and verify that a Guardian
rollout records the selected review model's context window.
GitOrigin-RevId: ebc399f4eba37c7f279fd0d258154c00d45e2d00
2026-07-23 00:04:37 +00:00
..
2026-07-22 19:31:54 +00:00
2026-07-06 14:29:19 -07:00
2026-07-22 01:35:06 +00:00
2026-07-22 23:57:24 +00:00
2026-07-22 23:57:24 +00:00
2026-07-23 00:04:37 +00:00
2026-06-24 21:08:39 -07:00
2026-07-21 09:46:00 +00:00
2026-07-22 19:43:35 +00:00
2026-07-17 21:20:14 +00:00
2026-07-22 23:57:24 +00:00
2026-07-22 09:25:22 +00:00
2026-07-22 22:50:13 +00:00
2026-07-23 00:02:15 +00:00
2026-07-22 09:29:09 +00:00
2026-07-01 18:11:09 -07:00
2026-07-15 03:27:16 +00:00
2026-07-16 18:23:43 +00:00
2026-07-16 18:23:43 +00:00
2026-06-23 00:02:33 +00:00
2026-06-18 19:31:19 +00:00
2026-07-18 00:26:24 +00:00
2026-07-20 17:36:44 +00:00
2026-07-22 21:00:01 +00:00
2026-06-22 23:56:16 -07:00
2026-07-22 01:35:06 +00:00
2026-07-22 21:00:01 +00:00
2026-07-22 10:47:51 +00:00
2026-07-22 10:47:51 +00:00
2026-07-22 22:50:13 +00:00
2026-07-13 21:54:04 +00:00
2026-07-22 22:50:13 +00:00
2026-07-22 22:50:13 +00:00
2026-07-22 22:50:13 +00:00
2026-07-22 22:50:13 +00:00
2026-07-23 00:02:15 +00:00
2026-07-22 22:50:13 +00:00
2026-07-22 22:50:13 +00:00
2026-06-10 12:54:21 +02:00
2026-07-09 14:32:23 -07:00
2026-07-22 09:25:22 +00:00
2026-06-24 22:17:43 -07:00
2026-07-06 11:20:32 -07:00
2026-07-06 11:20:32 -07:00
2026-07-16 18:23:43 +00:00
2026-07-18 00:26:24 +00:00
2026-07-22 20:23:35 +00:00
2026-06-25 19:00:23 +00:00
2026-06-25 19:00:23 +00:00
2026-07-21 19:17:18 +00:00
2026-07-21 19:17:18 +00:00
2026-07-20 06:13:29 +00:00
2026-07-21 19:17:18 +00:00
2026-07-21 21:06:04 +00:00
2026-07-22 02:19:45 +00:00
2026-07-17 23:14:37 +00:00
2026-06-22 16:41:00 -07:00
2026-06-22 23:56:16 -07:00
2026-07-20 16:47:03 +00:00
2026-07-16 18:23:43 +00:00
2026-06-26 00:53:07 +01:00
2026-07-22 09:25:22 +00:00
2026-07-22 09:25:22 +00:00
2026-07-14 20:36:29 +00:00
2026-07-14 20:36:29 +00:00
2026-07-17 15:45:48 +00:00
2026-07-13 22:34:16 +00:00
2026-07-06 14:51:34 -07:00
2026-07-20 13:45:29 +00:00
2026-07-22 22:50:13 +00:00
2026-07-22 22:54:28 +00:00
2026-07-22 22:54:28 +00:00
2026-07-22 19:43:35 +00:00
2026-07-22 19:43:35 +00:00
2026-07-07 14:26:03 -07:00
2026-07-18 06:34:53 +00:00
2026-07-18 06:34:53 +00:00
2026-06-22 13:25:48 -07:00
2026-07-21 19:17:18 +00:00
2026-06-23 12:13:54 -07:00
2026-07-21 19:17:18 +00:00
2026-06-16 14:34:54 +02:00
2026-06-16 14:34:54 +02:00
2026-06-26 09:12:42 -07:00
2026-07-22 22:50:13 +00:00
2026-07-20 08:29:12 +00:00
2026-07-20 08:29:12 +00:00
2026-06-15 08:18:13 -07:00
2026-06-15 08:18:13 -07:00
2026-07-21 19:25:39 +00:00
2026-07-22 22:50:13 +00:00
2026-07-20 16:47:03 +00:00
2026-07-20 13:45:29 +00:00
2026-07-22 19:31:54 +00:00
2026-07-22 19:31:54 +00:00
2026-07-15 02:35:49 +00:00
2026-07-15 02:35:49 +00:00
2026-07-22 02:19:45 +00:00
2026-07-22 02:19:45 +00:00
2026-07-22 10:47:51 +00:00
2026-06-22 09:05:27 -07:00
2026-07-22 22:13:02 +00:00
2026-07-22 22:13:02 +00:00
2026-06-16 22:17:24 -07:00
2026-07-20 13:45:29 +00:00
2026-07-20 13:45:29 +00:00
2026-07-21 21:06:04 +00:00
2026-07-21 21:06:04 +00:00