Francis Chalissery
7094fa467e
[codex] Read retry model from buffering events ( #31262 )
...
## Summary
- deserialize `retry_model` from streamed `safety_buffering` payloads
- preserve the existing downstream faster-model API and legacy header
fallback
- update SSE, WebSocket, and end-to-end safety-buffering coverage
## Root cause
Follow-up to #31064 . The Responses API emits the retry target as
`retry_model`, but the client was looking for `faster_model`, so the
payload value was ignored in favor of the compatibility fallback.
## Behavior
A non-null `retry_model` from the buffering payload takes precedence. An
explicit null leaves the retry target unset, while an omitted field
continues to fall back to the existing response header.
## Validation
- `just test -p codex-api` (135 tests)
- `just test -p codex-core safety_buffering` (2 tests)
- `just fix -p codex-api`
- `just fmt`
- `git diff --check`
2026-07-06 17:04:26 +00:00
..
2026-07-02 10:59:00 -07:00
2026-06-09 12:48:04 -07:00
2026-05-26 20:59:47 -07:00
2026-06-24 13:24:10 -07:00
2026-06-22 13:19:40 -07:00
2026-06-26 09:12:42 -07:00
2026-07-06 07:05:40 -07:00
2026-06-18 11:54:49 -07:00
2026-06-24 18:00:06 -07:00
2026-07-03 17:14:49 -06:00
2026-06-28 11:46:25 -07:00
2026-06-26 17:34:52 -07:00
2026-06-23 00:02:33 +00:00
2026-06-18 19:31:19 +00:00
2026-06-11 18:16:39 -07:00
2026-06-22 04:25:07 -07:00
2026-06-13 21:43:39 -07:00
2026-06-24 13:25:44 -07:00
2026-06-27 15:22:05 -07:00
2026-06-22 13:19:40 -07:00
2026-06-22 13:03:11 -07:00
2026-06-11 18:16:39 -07:00
2026-06-11 18:16:39 -07:00
2026-06-26 00:23:33 -07:00
2026-06-25 23:46:17 -07:00
2026-06-25 13:26:47 -07:00
2026-07-06 17:04:26 +00:00
2026-06-01 21:25:42 -07:00
2026-06-26 02:23:24 -04:00
2026-06-15 20:10:53 -07:00
2026-06-26 14:11:13 -07:00
2026-06-21 13:35:25 -07:00
2026-06-26 18:37:40 +00:00
2026-06-24 23:24:01 +01:00
2026-06-22 11:11:25 -07:00
2026-07-06 17:04:26 +00:00
2026-06-24 13:24:10 -07:00
2026-07-03 17:14:49 -06:00
2026-06-29 09:44:36 +09:00
2026-06-05 15:41:13 -07:00
2026-06-26 09:12:42 -07:00
2026-07-01 14:15:34 -07:00
2026-06-26 18:05:52 -07:00
2026-06-15 21:53:47 -07:00
2026-06-13 21:43:39 -07:00
2026-07-06 07:05:40 -07:00
2026-06-19 12:47:53 -07:00
2026-06-22 11:11:25 -07:00
2026-07-02 18:44:34 -07:00
2026-07-03 13:06:07 -07:00
2026-06-26 03:11:55 +01:00
2026-06-24 22:58:34 +01:00
2026-06-15 15:12:26 -07:00
2026-06-12 19:52:49 +00:00
2026-06-18 14:09:38 +02:00
2026-06-24 22:31:41 -07:00
2026-06-24 13:24:10 -07:00
2026-06-26 09:12:42 -07:00
2026-07-02 10:01:06 -07:00
2026-06-26 20:32:49 +00:00
2026-06-29 09:44:36 +09:00
2026-06-24 13:21:16 -07:00
2026-07-02 04:45:03 -07:00
2026-06-23 22:51:19 +01:00
2026-06-28 20:40:55 -07:00
2026-07-02 18:44:34 -07:00
2026-04-22 22:24:12 -07:00
2026-06-26 14:11:13 -07:00
2026-06-26 16:44:34 -07:00
2026-06-22 23:56:16 -07:00
2026-06-23 12:29:46 -07:00
2026-06-12 19:52:49 +00:00
2026-06-23 03:09:20 +00:00
2026-06-25 13:56:08 -07:00
2026-06-23 19:36:17 -07:00
2026-06-26 12:32:31 -07:00
2026-05-07 15:44:17 -07:00
2026-06-24 13:24:10 -07:00
2026-06-26 12:32:31 -07:00
2026-06-29 09:44:36 +09:00
2026-07-06 09:12:45 -07:00
2026-06-24 22:33:18 +00:00
2026-06-13 21:43:39 -07:00
2026-06-13 21:43:39 -07:00
2026-06-24 20:59:53 +01:00
2026-07-03 13:06:07 -07:00
2026-07-02 10:59:00 -07:00
2026-07-02 10:59:00 -07:00