Skip to content

fix(run_in_container): drop hardcoded --full-auto flag #783

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

braun-viathan
Copy link

@braun-viathan braun-viathan commented May 2, 2025

In run_in_container.sh Codex was started with hardcoded --full-Auto which makes it impossible for users to supply other
--approval-mode parameters.

Removing the flag lets Codex in a container respect CLI options on Linux the same way it does without the container.

Refs #781

PR-Checklist:

image

Copy link

github-actions bot commented May 2, 2025

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@braun-viathan
Copy link
Author

I have read the CLA Document and I hereby sign the CLA

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 openai#781 - openai#781
@braun-viathan braun-viathan force-pushed the fix/run-in-container-no-full-auto branch from 39ff37a to 8df54a5 Compare May 4, 2025 01:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant