From 5bcc9d8b770d7e3c69fa37fa01f5f1fd406837e2 Mon Sep 17 00:00:00 2001 From: pakrym-oai Date: Tue, 9 Sep 2025 14:47:06 -0700 Subject: [PATCH] Do not send reasoning item IDs (#3390) Response API doesn't require IDs on reasoning items anymore. Fixes: https://github.com/openai/codex/issues/3292 --- codex-rs/protocol/src/models.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codex-rs/protocol/src/models.rs b/codex-rs/protocol/src/models.rs index 115d4596..23a86a59 100644 --- a/codex-rs/protocol/src/models.rs +++ b/codex-rs/protocol/src/models.rs @@ -49,7 +49,7 @@ pub enum ResponseItem { content: Vec, }, Reasoning { - #[serde(default)] + #[serde(default, skip_serializing)] id: String, summary: Vec, #[serde(default, skip_serializing_if = "should_serialize_reasoning_content")]