mirror of
https://github.com/openai/codex.git
synced 2026-04-24 14:45:27 +00:00
fix(tui): update full-auto to default preset (#3608)
Update `--full-auto` to use default preset
This commit is contained in:
@@ -87,7 +87,7 @@ pub async fn run_main(
|
||||
let (sandbox_mode, approval_policy) = if cli.full_auto {
|
||||
(
|
||||
Some(SandboxMode::WorkspaceWrite),
|
||||
Some(AskForApproval::OnFailure),
|
||||
Some(AskForApproval::OnRequest),
|
||||
)
|
||||
} else if cli.dangerously_bypass_approvals_and_sandbox {
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user