mirror of
https://github.com/openai/codex.git
synced 2026-04-25 23:24:55 +00:00
Inject CODEX_THREAD_ID into the terminal environment (#10096)
Inject CODEX_THREAD_ID (when applicable) into the terminal environment so that the agent (and skills) can refer to the current thread / session ID. Discussion: https://openai.slack.com/archives/C095U48JNL9/p1769542492067109
This commit is contained in:
@@ -34,7 +34,7 @@ const NETWORK_TIMEOUT_MS: u64 = 10_000;
|
||||
|
||||
fn create_env_from_core_vars() -> HashMap<String, String> {
|
||||
let policy = ShellEnvironmentPolicy::default();
|
||||
create_env(&policy)
|
||||
create_env(&policy, None)
|
||||
}
|
||||
|
||||
#[expect(clippy::print_stdout)]
|
||||
|
||||
Reference in New Issue
Block a user