Skip to content

Commit

Permalink
Update createGuide.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
hadar-co authored Nov 11, 2024
1 parent b57956c commit 0b87b45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/createGuide.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
- name: Wait for run completion
run: |
STATUS="running"
while [[ "$STATUS" == "running" || "$STATUS" == "queued" || "$STATUS" == "in_progress"]]; 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" \
Expand Down

0 comments on commit 0b87b45

Please sign in to comment.