Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

Do not send reasoning item IDs (#3390)

pakrym-oai5bcc9d8b770d
diff --git a/codex-rs/protocol/src/models.rs b/codex-rs/protocol/src/models.rs
index 115d4596ce..23a86a594e 100644
--- a/codex-rs/protocol/src/models.rs
+++ b/codex-rs/protocol/src/models.rs
@@ -49,7 +49,7 @@ pub enum ResponseItem {
content: Vec<ContentItem>,
},
Reasoning {
- #[serde(default)]
+ #[serde(default, skip_serializing)]
id: String,
summary: Vec<ReasoningItemReasoningSummary>,
#[serde(default, skip_serializing_if = "should_serialize_reasoning_content")]