fix(web): run unattended implementation without broken local sandbox
This commit is contained in:
@@ -146,7 +146,7 @@ def run_task(task: dict, heartbeat_seconds: float) -> tuple[int, bool]:
|
|||||||
log_path = LOG_ROOT / f"{task['id']}.codex.jsonl"
|
log_path = LOG_ROOT / f"{task['id']}.codex.jsonl"
|
||||||
LOG_ROOT.mkdir(parents=True, exist_ok=True)
|
LOG_ROOT.mkdir(parents=True, exist_ok=True)
|
||||||
command = [
|
command = [
|
||||||
"codex", "exec", "--approve-for-me",
|
"codex", "exec", "--dangerously-bypass-approvals-and-sandbox",
|
||||||
"--ephemeral", "--cd", str(ROOT), "--json", "-",
|
"--ephemeral", "--cd", str(ROOT), "--json", "-",
|
||||||
]
|
]
|
||||||
with log_path.open("w", encoding="utf-8") as log:
|
with log_path.open("w", encoding="utf-8") as log:
|
||||||
|
|||||||
Reference in New Issue
Block a user