From 34a9eb6d4e414a37d763b35cf6cb126c8a74f1f6 Mon Sep 17 00:00:00 2001 From: Jeffery Date: Mon, 29 Jun 2026 16:01:35 +0800 Subject: [PATCH] =?UTF-8?q?fix(llm):=20=E7=A7=BB=E9=99=A4=20codex=20exec?= =?UTF-8?q?=20=E5=B7=B2=E4=B8=8D=E6=94=AF=E6=8F=B4=E7=9A=84=20--ask-for-ap?= =?UTF-8?q?proval=20=E5=8F=83=E6=95=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/llm.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/llm.js b/app/llm.js index 470439f..0226b0a 100644 --- a/app/llm.js +++ b/app/llm.js @@ -25,7 +25,7 @@ function buildPrompt(systemPrompt, userContent) { function cliArgs(provider, model, promptFile = null, prompt = null) { if (provider === 'codex') { - return ['exec', '--model', model, '--sandbox', 'read-only', '--ask-for-approval', 'never', '--skip-git-repo-check', '-']; + return ['exec', '--model', model, '--sandbox', 'read-only', '--skip-git-repo-check', '-']; } if (provider === 'claude') { return ['--print', '--model', model, '--permission-mode', 'dontAsk', '--no-session-persistence'];