mirror of
https://github.com/openai/codex.git
synced 2026-11-22 23:00:42 +00:00
feat: configure network_access independent of sandbox policy
This commit is contained in:
@@ -91,6 +91,7 @@ async fn get_config_toml_parses_all_fields() -> Result<()> {
|
||||
exclude_tmpdir_env_var: Some(true),
|
||||
exclude_slash_tmp: Some(true),
|
||||
}),
|
||||
network_access: None,
|
||||
forced_chatgpt_workspace_id: Some("12345678-0000-0000-0000-000000000000".into()),
|
||||
forced_login_method: Some(ForcedLoginMethod::Chatgpt),
|
||||
model: Some("gpt-5.1-codex-max".into()),
|
||||
@@ -141,6 +142,7 @@ async fn get_config_toml_empty() -> Result<()> {
|
||||
approval_policy: None,
|
||||
sandbox_mode: None,
|
||||
sandbox_settings: None,
|
||||
network_access: None,
|
||||
forced_chatgpt_workspace_id: None,
|
||||
forced_login_method: None,
|
||||
model: None,
|
||||
|
||||
Reference in New Issue
Block a user