Skip to content

Commit 71cdec7

Browse files
author
zenus
committed
fix: restore codex-worker xhigh default after main sync
1 parent bf5c8a3 commit 71cdec7

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

scripts/codex-worker.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]:-$0}")" && pwd)"
2727
# Source portable timeout wrapper
2828
source "$SCRIPT_DIR/portable-timeout.sh"
2929

30-
# Source shared loop library for DEFAULT_CODEX_MODEL and DEFAULT_CODEX_EFFORT
30+
# Source shared loop library for DEFAULT_CODEX_WORKER_MODEL and DEFAULT_CODEX_WORKER_EFFORT
3131
HOOKS_LIB_DIR="$(cd "$SCRIPT_DIR/../hooks/lib" && pwd)"
3232
source "$HOOKS_LIB_DIR/loop-common.sh"
3333

@@ -37,8 +37,8 @@ source "$HOOKS_LIB_DIR/loop-common.sh"
3737

3838
DEFAULT_CODEX_WORKER_TIMEOUT=5400
3939

40-
WORKER_MODEL="$DEFAULT_CODEX_MODEL"
41-
WORKER_EFFORT="$DEFAULT_CODEX_EFFORT"
40+
WORKER_MODEL="$DEFAULT_CODEX_WORKER_MODEL"
41+
WORKER_EFFORT="$DEFAULT_CODEX_WORKER_EFFORT"
4242
WORKER_TIMEOUT="$DEFAULT_CODEX_WORKER_TIMEOUT"
4343
WORKDIR=""
4444

@@ -103,7 +103,7 @@ while [[ $# -gt 0 ]]; do
103103
WORKER_EFFORT="${2#*:}"
104104
else
105105
WORKER_MODEL="$2"
106-
WORKER_EFFORT="$DEFAULT_CODEX_EFFORT"
106+
WORKER_EFFORT="$DEFAULT_CODEX_WORKER_EFFORT"
107107
fi
108108
shift 2
109109
;;

0 commit comments

Comments
 (0)