From 70810cb54780fbb2545ec3510b4313c05fa3d9d3 Mon Sep 17 00:00:00 2001 From: jif-oai Date: Tue, 2 Dec 2025 10:09:37 +0000 Subject: [PATCH] More --- codex-rs/core/src/client_common.rs | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/codex-rs/core/src/client_common.rs b/codex-rs/core/src/client_common.rs index cf3a71a0f6..cfdfa41118 100644 --- a/codex-rs/core/src/client_common.rs +++ b/codex-rs/core/src/client_common.rs @@ -64,6 +64,11 @@ impl PromptBuilder { self } + /// For integration tests only. + pub fn push_input(&mut self, item: ResponseItem) { + self.input.push(item); + } + pub(crate) fn with_tools(mut self, tools: Vec) -> Self { self.tools = tools; self @@ -369,13 +374,6 @@ mod tests { pub slug: &'static str, pub expects_apply_patch_instructions: bool, } - - impl PromptBuilder { - pub fn push_input(&mut self, item: ResponseItem) { - self.input.push(item); - } - } - #[test] fn get_full_instructions_no_user_content() { let prompt = PromptBuilder {