bkotsopoulos
65a4450886
Prewarm restored file images on cold resume ( #61959 )
...
## Why
Cold resumes warm only base instructions, leaving historical file images out of the WebSocket warm-up.
## What changed
- Add the disabled-by-default `restored_history_prewarm` feature flag.
- Start the WebSocket handshake while history loads, then build the warm-up from restored settings and history when it contains file images.
- Retain the socket and normalized-image cache but discard the image warm-up response ID, so generation resends the full current history and subsequent turns continue from the real response.
- Keep base warm-up for history without file images and defer image preparation to generation when the handshake falls back to HTTP.
## Testing
Add request-history tests and snapshots covering text-only history, interrupted and injected images, resuming with a vision model after image omission, and HTTP fallback without duplicate image resolution.
GitOrigin-RevId: 9a828f44ef0952f7335b5a8c0f7844a069f90d80
2026-11-17 03:48:25 +00:00
..
2026-11-10 01:30:08 +00:00
2026-10-14 06:03:02 +00:00
2026-11-04 13:03:01 +00:00
2026-10-30 18:33:14 +00:00
2026-10-30 18:33:14 +00:00
2026-10-30 18:33:14 +00:00
2026-10-30 18:33:14 +00:00
2026-10-30 18:33:14 +00:00
2026-10-30 18:33:14 +00:00
2026-11-13 22:01:26 +00:00
2026-10-26 22:13:14 +00:00
2026-10-05 18:52:51 +00:00
2026-10-05 18:52:51 +00:00
2026-10-05 18:52:51 +00:00
2026-09-10 21:41:39 +00:00
2026-10-30 18:33:14 +00:00
2026-09-12 05:04:11 +00:00
2026-09-12 05:04:11 +00:00
2026-10-05 18:52:51 +00:00
2026-10-30 18:33:14 +00:00
2026-10-30 18:33:14 +00:00
2026-10-05 18:52:51 +00:00
2026-10-05 18:52:51 +00:00
2026-10-05 18:52:51 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-10-05 18:52:51 +00:00
2026-10-30 18:33:14 +00:00
2026-10-30 18:33:14 +00:00
2026-10-30 18:33:14 +00:00
2026-11-16 22:07:07 +00:00
2026-10-08 17:25:39 +00:00
2026-11-03 12:33:26 +00:00
2026-11-02 15:09:22 +00:00
2026-11-03 12:33:26 +00:00
2026-11-02 15:28:37 +00:00
2026-09-30 17:33:59 +00:00
2026-11-16 04:54:23 +00:00
2026-10-06 10:39:16 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-04 00:19:12 +00:00
2026-11-03 21:24:16 +00:00
2026-10-30 20:53:25 +00:00
2026-11-03 21:24:16 +00:00
2026-11-03 21:24:16 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-10 21:28:22 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 23:58:12 +00:00
2026-11-16 04:54:23 +00:00
2026-10-30 18:33:14 +00:00
2026-11-16 04:54:23 +00:00
2026-10-30 18:33:14 +00:00
2026-10-30 18:33:14 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-13 18:46:45 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-17 02:31:45 +00:00
2026-10-30 18:33:14 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-02 20:10:37 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-04 13:03:01 +00:00
2026-11-02 21:35:56 +00:00
2026-10-05 18:52:51 +00:00
2026-10-05 18:52:51 +00:00
2026-10-06 03:27:04 +00:00
2026-10-06 03:27:04 +00:00
2026-10-05 18:52:51 +00:00
2026-10-05 18:52:51 +00:00
2026-10-30 18:33:14 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-10-21 10:40:59 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-10-30 18:33:14 +00:00
2026-10-30 18:33:14 +00:00
2026-10-06 10:56:45 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-10-30 18:33:14 +00:00
2026-11-17 03:48:25 +00:00
2026-11-17 03:48:25 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-10-30 20:53:25 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-03 06:05:55 +00:00
2026-11-16 04:54:23 +00:00
2026-10-05 18:52:51 +00:00
2026-10-05 18:52:51 +00:00
2026-10-05 18:52:51 +00:00
2026-11-02 07:27:49 +00:00
2026-11-02 07:27:49 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-10-27 19:11:56 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 22:27:05 +00:00
2026-11-16 22:27:05 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-10-30 18:33:14 +00:00
2026-09-04 10:22:43 +00:00