mirror of
https://github.com/theniceboy/.config.git
synced 2025-12-26 14:44:57 +08:00
update ask cmd
This commit is contained in:
parent
7a3f743ece
commit
c8131eb0aa
1 changed files with 1 additions and 1 deletions
2
bin/ask
2
bin/ask
|
|
@ -98,7 +98,7 @@ cleanup() {
|
|||
}
|
||||
trap cleanup EXIT
|
||||
|
||||
cmd=(env CODEX_HOME="$codex_home_dir" "$CODEX_BIN" --ask-for-approval never --sandbox read-only exec --skip-git-repo-check --output-last-message "$out_file")
|
||||
cmd=(env CODEX_HOME="$codex_home_dir" "$CODEX_BIN" --ask-for-approval never -c sandbox_mode=workspace-write --enable web_search_request exec --skip-git-repo-check --output-last-message "$out_file")
|
||||
|
||||
if [ -n "${image}" ]; then
|
||||
cmd+=(-i "${image}")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue