Teknium
e0592b6d43
fix(codex): masked "invalid_prompt: Request blocked." replay rejection reaches the replay-strip recovery
...
The ChatGPT Codex backend answers a rejected encrypted-reasoning replay with the
same bare 400 {code: invalid_prompt, message: "Request blocked."} it uses for
genuine blocks. classify_api_error bucketed it as format_error, so the one-shot
repair that already exists for invalid_encrypted_content (disable replay, strip
cached codex_reasoning_items, retry once) never ran and the turn aborted.
Classify exactly that envelope from provider openai-codex — SDK 400 body, SSE
``error`` frame, or the ``response.failed`` text — as invalid_encrypted_content
while keeping format_error's abort-and-fallback hints, so the only behavioural
delta is turn_recovery's replay strip, which still requires cached reasoning
items. A block with nothing to strip aborts exactly as before; other providers,
other messages/codes and the #18028 safety refusals are untouched.
evals/codex_masked_replay_review.py drives a real AIAgent (codex_responses)
against a synthetic local Responses server for the before/after check.
Refs #92353 , #92357 , #94077 .
2026-09-06 05:40:02 -07:00
..
2026-09-03 02:32:15 -07:00
2026-09-02 13:30:17 -07:00
2026-09-02 20:51:07 +05:30
2026-09-03 13:28:22 -07:00
2026-09-06 05:37:03 -07:00
2026-09-03 13:16:47 -07:00
2026-09-03 13:16:47 -07:00
2026-09-03 13:16:47 -07:00
2026-09-03 13:16:47 -07:00
2026-09-03 13:16:47 -07:00
2026-09-03 13:16:47 -07:00
2026-09-03 13:16:47 -07:00
2026-09-03 13:16:47 -07:00
2026-09-03 13:16:47 -07:00
2026-09-03 13:29:35 -07:00
2026-09-01 23:56:06 -07:00
2026-09-01 23:56:06 -07:00
2026-09-03 13:16:47 -07:00
2026-09-03 13:16:47 -07:00
2026-09-02 21:22:07 -07:00
2026-09-03 19:33:28 -07:00
2026-09-03 13:48:49 -07:00
2026-09-03 02:06:51 -07:00
2026-09-03 13:29:35 -07:00
2026-09-03 13:49:57 -07:00
2026-09-03 13:29:35 -07:00
2026-09-03 14:00:59 -07:00
2026-09-02 13:29:47 -07:00
2026-09-02 19:12:32 -07:00
2026-09-03 13:29:35 -07:00
2026-09-03 13:16:47 -07:00
2026-09-02 13:29:47 -07:00
2026-09-03 03:09:06 +05:30
2026-09-03 13:28:22 -07:00
2026-09-01 12:08:11 -07:00
2026-09-01 22:14:06 -07:00
2026-09-03 14:00:59 -07:00
2026-09-02 04:14:10 -07:00
2026-09-02 05:33:22 -07:00
2026-09-02 04:12:12 -07:00
2026-09-03 11:27:55 +05:30
2026-09-03 13:46:50 -07:00
2026-09-03 13:29:35 -07:00
2026-09-03 13:30:27 -07:00
2026-09-01 22:28:52 -07:00
2026-09-05 16:44:23 +05:30
2026-09-02 20:51:07 +05:30
2026-09-05 17:43:45 +05:30
2026-09-03 19:33:28 -07:00
2026-09-03 13:16:47 -07:00
2026-09-03 19:33:28 -07:00
2026-09-03 03:31:54 +05:30
2026-09-05 17:43:45 +05:30
2026-09-03 13:48:49 -07:00
2026-09-03 11:27:40 +05:30
2026-09-03 01:43:22 +05:30
2026-09-03 14:21:52 -07:00
2026-09-03 15:50:55 -07:00
2026-09-03 14:00:59 -07:00
2026-09-02 13:29:48 -07:00
2026-09-06 05:37:03 -07:00
2026-09-03 03:41:52 -07:00
2026-09-03 16:20:10 -07:00
2026-09-06 05:40:02 -07:00
2026-09-03 13:29:35 -07:00
2026-09-02 05:33:13 -07:00
2026-09-02 14:43:45 -07:00
2026-09-03 13:10:52 -07:00
2026-09-02 18:58:42 -07:00
2026-09-02 13:29:48 -07:00
2026-09-03 03:07:33 +05:30
2026-09-03 03:07:33 +05:30
2026-09-02 13:29:31 -07:00
2026-09-03 13:16:47 -07:00
2026-09-03 13:28:22 -07:00
2026-09-03 12:42:38 -07:00
2026-09-03 13:29:35 -07:00
2026-09-03 13:16:47 -07:00
2026-09-02 16:46:33 -07:00
2026-09-03 13:16:47 -07:00
2026-09-03 22:00:01 -07:00
2026-09-03 13:28:22 -07:00
2026-09-03 00:58:16 -07:00
2026-09-03 13:12:23 -07:00
2026-09-03 13:16:47 -07:00
2026-09-02 18:29:20 -07:00
2026-09-03 13:16:47 -07:00
2026-09-02 15:53:44 -07:00
2026-09-02 21:46:36 -07:00
2026-09-03 13:33:47 -07:00
2026-09-03 04:51:51 +05:30
2026-09-02 07:00:13 -07:00
2026-09-06 02:18:14 -07:00
2026-09-03 02:44:24 -07:00
2026-09-02 13:29:47 -07:00
2026-09-03 13:27:01 -07:00
2026-09-03 17:00:26 -07:00
2026-09-03 13:28:22 -07:00
2026-09-03 15:07:39 -07:00
2026-09-02 20:37:46 -07:00
2026-09-03 12:26:22 +05:30
2026-09-03 12:23:55 +05:30
2026-09-03 13:28:22 -07:00
2026-09-02 13:53:57 -07:00
2026-09-06 13:32:51 +05:30
2026-09-02 13:53:57 -07:00
2026-09-02 16:37:14 -07:00
2026-09-02 16:10:07 -07:00
2026-09-03 13:29:35 -07:00
2026-09-02 09:57:39 -07:00
2026-09-03 13:28:22 -07:00
2026-09-03 13:16:47 -07:00
2026-09-02 13:52:51 -07:00
2026-09-01 12:07:16 -07:00
2026-09-02 13:28:41 +05:30
2026-09-03 13:28:22 -07:00
2026-09-03 14:21:52 -07:00
2026-09-01 16:01:53 -04:00
2026-09-02 18:58:42 -07:00
2026-09-01 22:28:52 -07:00
2026-09-02 16:27:44 -07:00
2026-09-06 05:35:12 -07:00
2026-09-03 13:29:35 -07:00
2026-09-03 02:35:21 -07:00
2026-09-02 07:00:13 -07:00
2026-09-02 19:41:47 -07:00
2026-09-03 13:28:22 -07:00
2026-09-03 13:29:35 -07:00
2026-09-02 13:29:48 -07:00
2026-09-03 13:28:22 -07:00
2026-09-02 01:06:24 -07:00
2026-09-04 02:03:08 -07:00
2026-09-03 02:07:33 -07:00
2026-09-02 19:11:11 -07:00
2026-09-03 13:28:22 -07:00
2026-09-02 13:30:25 -07:00
2026-09-02 00:26:57 -07:00
2026-09-03 14:18:25 -07:00
2026-09-02 19:46:07 -07:00
2026-09-02 16:42:25 -07:00
2026-09-03 15:54:46 -07:00
2026-09-03 03:31:03 -07:00
2026-09-03 09:54:04 -07:00
2026-09-03 13:48:14 -07:00
2026-09-03 05:20:11 -07:00
2026-09-03 13:29:35 -07:00
2026-09-03 13:29:35 -07:00
2026-09-03 04:00:51 +05:30
2026-09-03 16:20:10 -07:00
2026-09-03 14:18:25 -07:00