From ae6c8f036fdb5e5ef9b7dba392123134949c400d Mon Sep 17 00:00:00 2001 From: Ahmed Ibrahim Date: Mon, 18 Aug 2025 12:19:08 -0700 Subject: [PATCH] update the turn context --- codex-rs/core/src/codex.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codex-rs/core/src/codex.rs b/codex-rs/core/src/codex.rs index e2e3b872d4..bd553c6ff7 100644 --- a/codex-rs/core/src/codex.rs +++ b/codex-rs/core/src/codex.rs @@ -1133,7 +1133,7 @@ async fn submission_loop( cwd, disable_response_storage: turn_context.disable_response_storage, }; - + // TODO: record the new environment context in the conversation history // no current task, spawn a new one with the per‑turn context let task = AgentTask::spawn(sess.clone(), Arc::new(fresh_turn_context), sub.id, items);