diff --git a/run-ai.sh b/run-ai.sh index 63e851d..9273d24 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" -/home/ernie/.opencode/bin/opencode --prompt "$TASK_PROMPT" 2>&1 | tee -a "$LOG_FILE" +/home/ernie/.opencode/bin/opencode run "$TASK_PROMPT" 2>&1 | tee -a "$LOG_FILE" EXIT_CODE=${PIPESTATUS[0]} if [ $EXIT_CODE -eq 0 ]; then