Saren
d2d4cf0e17
fix(sse): normalize assistant input_text to output_text in Codex Responses input ( #6932 )
...
codex-cli replays assistant history with content parts typed as
`input_text`, but the Responses API only accepts `output_text`
(or `refusal`) on assistant turns — `input_text` is user-only.
`normalizeCodexMessageContentPart` previously only rewrote parts
literally typed `text`, leaving explicit `input_text` on assistant
turns untouched, which the Codex/OpenAI backend rejects with a 400.
Rewrite explicit `input_text` (and `text`) to `output_text` on
assistant-role parts, dropping the assistant-only `annotations`,
`logprobs`, and `obfuscation` fields. Mode-agnostic, applies to
all Codex models.
Co-authored-by: diegosouzapw <8016841+diegosouzapw@users.noreply.github.com >
2026-07-12 10:47:51 -03:00
..
2026-07-02 10:47:13 -03:00
2026-07-02 10:47:13 -03:00
2026-06-29 08:40:06 -03:00
2026-06-26 23:14:27 -03:00
2026-04-24 13:20:59 -03:00
2026-06-17 19:26:32 -03:00
2026-06-27 09:07:12 -03:00
2026-06-17 19:26:32 -03:00
2026-07-04 13:00:30 -03:00
2026-03-04 21:02:56 -03:00
2026-06-27 09:07:12 -03:00
2026-04-28 02:41:19 -03:00
2026-07-10 19:04:51 -03:00
2026-07-02 10:47:13 -03:00
2026-04-17 11:56:52 -03:00
2026-06-03 18:24:41 -03:00
2026-06-29 08:40:06 -03:00
2026-07-02 10:47:13 -03:00
2026-07-05 08:37:49 -03:00
2026-07-08 01:35:55 -03:00
2026-05-30 14:02:27 -05:00
2026-07-10 19:39:44 -03:00
2026-06-26 02:51:06 -03:00
2026-05-29 12:44:29 -03:00
2026-06-20 14:55:24 -03:00
2026-06-28 06:58:29 -03:00
2026-06-08 00:47:34 -03:00
2026-05-08 17:35:01 -03:00
2026-06-26 02:51:06 -03:00
2026-05-11 00:41:36 +02:00
2026-03-04 21:02:56 -03:00
2026-06-23 03:08:29 -03:00
2026-05-26 23:51:47 -03:00
2026-06-09 15:56:24 -03:00
2026-07-05 17:37:21 -03:00
2026-06-27 09:07:12 -03:00
2026-07-02 10:47:13 -03:00
2026-06-19 06:49:01 -03:00
2026-07-12 01:58:43 -03:00
2026-06-28 06:58:29 -03:00
2026-06-29 08:40:06 -03:00
2026-06-13 17:27:40 -03:00
2026-06-13 17:27:40 -03:00
2026-07-02 10:47:13 -03:00
2026-07-12 01:59:15 -03:00
2026-06-25 13:17:40 -03:00
2026-06-27 09:07:12 -03:00
2026-07-02 10:47:13 -03:00
2026-07-10 19:38:52 -03:00
2026-07-12 10:47:51 -03:00
2026-06-04 20:05:38 -03:00
2026-06-14 01:10:24 -03:00
2026-05-29 12:44:29 -03:00
2026-06-30 06:54:29 -03:00
2026-04-23 16:28:33 +00:00
2026-06-27 09:07:12 -03:00
2026-07-02 10:47:13 -03:00
2026-07-12 02:00:14 -03:00
2026-06-27 09:07:12 -03:00
2026-06-30 06:54:29 -03:00
2026-07-04 21:25:17 -03:00
2026-07-11 11:22:22 -03:00
2026-06-14 01:10:24 -03:00
2026-07-02 10:47:13 -03:00
2026-06-08 18:50:53 -03:00
2026-07-06 19:23:27 -03:00
2026-03-28 23:35:59 -03:00
2026-06-07 07:20:02 -03:00
2026-07-07 21:48:27 -03:00
2026-06-26 02:51:06 -03:00
2026-05-15 20:23:53 +01:00
2026-07-02 10:47:13 -03:00
2026-07-12 02:04:20 -03:00