diff --git a/run-ai.sh b/run-ai.sh index f71148a..63e851d 100755 --- a/run-ai.sh +++ b/run-ai.sh @@ -58,7 +58,7 @@ Your task: Continue building the web application. Read the current state from WO # Run opencode with the task cd "$SCRIPT_DIR" -opencode --prompt "$TASK_PROMPT" 2>&1 | tee -a "$LOG_FILE" +/home/ernie/.opencode/bin/opencode --prompt "$TASK_PROMPT" 2>&1 | tee -a "$LOG_FILE" EXIT_CODE=${PIPESTATUS[0]} if [ $EXIT_CODE -eq 0 ]; then