mirror of
https://github.com/openai/codex.git
synced 2026-11-02 16:20:35 +00:00
fix(tui): update full-auto to default preset (#3608)
Update `--full-auto` to use default preset
This commit is contained in:
1 parent
5185d69f13
commit
1823906215
1 file changed
+1
-1
@@ -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