diff --git a/.github/workflows/createGuide.yml b/.github/workflows/createGuide.yml index 4e066b3..5b5af1f 100644 --- a/.github/workflows/createGuide.yml +++ b/.github/workflows/createGuide.yml @@ -69,7 +69,7 @@ jobs: - name: Wait for run completion run: | STATUS="running" - while [[ "$STATUS" == "running" || "$STATUS" == "queued" ]]; do + while [[ "$STATUS" == "running" || "$STATUS" == "queued" || "$STATUS" == "in_progress"]]; do sleep 5 RUN_STATUS_RESPONSE=$(curl -s https://api.openai.com/v1/threads/${{ env.THREAD_ID }}/runs/${{ env.RUN_ID }} \ -H "Authorization: Bearer $OPENAI_API_KEY" \