docs: remove top-level network config references

This commit is contained in:
viyatb-oai
2026-03-06 10:11:33 -08:00
parent 2bda01552a
commit 6e82567294
2 changed files with 4 additions and 7 deletions
+1 -4
View File
@@ -312,10 +312,7 @@ allowed_domains = ["lower.example.com"]
)
.expect("lower layer should parse");
let higher_network: toml::Value = toml::from_str(
r#"
[network]
allowed_domains = ["higher.example.com"]
"#,
r#"network = { allowed_domains = ["higher.example.com"] }"#,
)
.expect("higher layer should parse");
+3 -3
View File
@@ -16,14 +16,14 @@ It enforces an allow/deny policy and a "limited" mode intended for read-only net
Example config:
```toml
[network]
enabled = true
[permissions.network]
proxy_url = "http://127.0.0.1:3128"
# SOCKS5 listener (enabled by default).
enable_socks5 = true
socks_url = "http://127.0.0.1:8081"
enable_socks5_udp = true
# When `enabled` is false, the proxy no-ops and does not bind listeners.
# Use the `enable_network_proxy` experimental feature or requirements config
# to activate the proxy when running through Codex.
# When true, respect HTTP(S)_PROXY/ALL_PROXY for upstream requests (HTTP(S) proxies only),
# including CONNECT tunnels in full mode.
allow_upstream_proxy = true