mirror of
https://github.com/openai/codex.git
synced 2026-11-15 21:50:46 +00:00
fix(core): add session-scoped network approvals for managed proxy
This commit is contained in:
@@ -1698,7 +1698,7 @@ impl CodexMessageProcessor {
|
||||
None => self.config.sandbox_policy.get().clone(),
|
||||
};
|
||||
let started_network_proxy = match self.config.network.as_ref() {
|
||||
Some(spec) => match spec.start_proxy(&effective_policy).await {
|
||||
Some(spec) => match spec.start_proxy(&effective_policy, None).await {
|
||||
Ok(started) => Some(started),
|
||||
Err(err) => {
|
||||
let error = JSONRPCErrorError {
|
||||
@@ -1721,6 +1721,7 @@ impl CodexMessageProcessor {
|
||||
network: started_network_proxy
|
||||
.as_ref()
|
||||
.map(codex_core::config::StartedNetworkProxy::proxy),
|
||||
network_attempt_id: None,
|
||||
sandbox_permissions: SandboxPermissions::UseDefault,
|
||||
windows_sandbox_level,
|
||||
justification: None,
|
||||
|
||||
Reference in New Issue
Block a user