Skip to content

Commit d7d7bc6

Browse files
author
zenus
committed
Restore bitlesson selector stdin invocation
1 parent 6e55a6a commit d7d7bc6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/bitlesson-select.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ if [[ "$BITLESSON_PROVIDER" == "codex" ]]; then
177177

178178
RAW_OUTPUT="$(printf '%s' "$PROMPT" | run_with_timeout "$SELECTOR_TIMEOUT" codex exec "${CODEX_EXEC_ARGS[@]}" -)" || CODEX_EXIT_CODE=$?
179179
elif [[ "$BITLESSON_PROVIDER" == "claude" ]]; then
180-
RAW_OUTPUT="$(printf '%s' "$PROMPT" | run_with_timeout "$SELECTOR_TIMEOUT" claude --print --model "$BITLESSON_MODEL")" || CODEX_EXIT_CODE=$?
180+
RAW_OUTPUT="$(printf '%s' "$PROMPT" | run_with_timeout "$SELECTOR_TIMEOUT" claude --print --model "$BITLESSON_MODEL" -)" || CODEX_EXIT_CODE=$?
181181
fi
182182

183183
if [[ $CODEX_EXIT_CODE -eq 124 ]]; then

0 commit comments

Comments
 (0)