fix: prefer config var to env var (#2495)

This commit is contained in:
Michael Bolin
2025-08-19 21:51:59 -07:00
committed by GitHub
parent d1f1e36836
commit ce434b1219
4 changed files with 13 additions and 19 deletions

View File

@@ -22,9 +22,6 @@ pub const CODEX_SANDBOX_NETWORK_DISABLED_ENV_VAR: &str = "CODEX_SANDBOX_NETWORK_
/// accommodate sandboxing configuration and other sandboxing mechanisms.
pub const CODEX_SANDBOX_ENV_VAR: &str = "CODEX_SANDBOX";
/// Set this to change the originator sent with all network requests.
pub const CODEX_ORIGINATOR_ENV_VAR: &str = "CODEX_ORIGINATOR";
#[derive(Debug, Clone, Copy)]
pub enum StdioPolicy {
RedirectForShellTool,