From ef7f3b189e2ad9c66a0ff3ea180ff68bc1185c9f Mon Sep 17 00:00:00 2001 From: Roy Han Date: Thu, 19 Mar 2026 15:20:34 -0700 Subject: [PATCH] move uuid stamping callsite to earliest boundary --- codex-rs/core/src/client_common.rs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/codex-rs/core/src/client_common.rs b/codex-rs/core/src/client_common.rs index b87bc1ee34..ea6a209e2e 100644 --- a/codex-rs/core/src/client_common.rs +++ b/codex-rs/core/src/client_common.rs @@ -46,12 +46,7 @@ pub struct Prompt { impl Prompt { pub(crate) fn get_formatted_input(&self) -> Vec { - let mut input: Vec = self - .input - .clone() - .into_iter() - .map(ResponseItem::with_generated_metadata_uuid) - .collect(); + let mut input = self.input.clone(); // when using the *Freeform* apply_patch tool specifically, tool outputs // should be structured text, not json. Do NOT reserialize when using