Skip to content

Commit 8df54a5

Browse files
committed
fix(run_in_container): drop hardcoded --full-auto flag
What: This commit removes the hardcoded `--full-auto` flag from the `run_in_container.sh` script. Why: The `--full-auto` flag was hardcoded in the `run_in_container.sh` script, which is used to run Codex in a containerized environment. This flag was causing issues for users who wanted to run Codex with different approval modes or configurations. How: By removing the hardcoded flag, users can now specify their own approval modes and configurations when running Codex in a container. This change aligns the behavior of the containerized version of Codex with the behavior of the non-containerized version, allowing for greater flexibility and customization. Refs #781 - #781
1 parent 4b61fb8 commit 8df54a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

codex-cli/scripts/run_in_container.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,4 +92,4 @@ quoted_args=""
9292
for arg in "$@"; do
9393
quoted_args+=" $(printf '%q' "$arg")"
9494
done
95-
docker exec -it "$CONTAINER_NAME" bash -c "cd \"/app$WORK_DIR\" && codex --full-auto ${quoted_args}"
95+
docker exec -it "$CONTAINER_NAME" bash -c "cd \"/app$WORK_DIR\" && codex ${quoted_args}"

0 commit comments

Comments
 (0)