feat: configure network_access independent of sandbox policy

This commit is contained in:
Anton Panasenko
2025-12-17 15:24:30 -08:00
parent 927a6acbea
commit 7134842438
8 changed files with 197 additions and 28 deletions
@@ -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,