mirror of
https://github.com/openai/codex.git
synced 2026-11-13 21:30:47 +00:00
fix(core): add session-scoped network approvals for managed proxy
This commit is contained in:
@@ -216,7 +216,7 @@ async fn run_command_under_sandbox(
|
||||
// This proxy should only live for the lifetime of the child process.
|
||||
let network_proxy = match config.permissions.network.as_ref() {
|
||||
Some(spec) => Some(
|
||||
spec.start_proxy(config.sandbox_policy.get())
|
||||
spec.start_proxy(config.sandbox_policy.get(), None)
|
||||
.await
|
||||
.map_err(|err| anyhow::anyhow!("failed to start managed network proxy: {err}"))?,
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user