mirror of
https://github.com/openai/codex.git
synced 2026-12-06 01:10:58 +00:00
fix(core): target primary environment for workspace approvals
This commit is contained in:
@@ -222,6 +222,7 @@ impl ToolExecutor<ToolInvocation> for WorkspaceMutationHandler {
|
||||
&turn,
|
||||
call_id,
|
||||
RequestPermissionsArgs {
|
||||
environment_id: None,
|
||||
reason: Some(match self.mutation {
|
||||
WorkspaceMutation::SetWorkingDirectory => format!(
|
||||
"switch this session's working directory to `{}`",
|
||||
|
||||
Reference in New Issue
Block a user