Test New CI Pipeline (#4170)

* introduce dummy prompt change

* introduce dummy prompt change

* empty commit

* empty commit

* empty commit

* push to origin repo

* add s to quote
This commit is contained in:
merwanehamadi
2023-05-13 18:18:31 -07:00
committed by GitHub
parent de6b8ee9f2
commit 2d9b9294d0
2 changed files with 3 additions and 3 deletions

View File

@@ -97,5 +97,5 @@ jobs:
git config user.name "GitHub Actions" git config user.name "GitHub Actions"
git commit -m "Add new cassettes" git commit -m "Add new cassettes"
git checkout -b cassette-diff-${{ github.event.pull_request.number }} git checkout -b cassette-diff-${{ github.event.pull_request.number }}
git push -f origin cassette-diff-${{ github.event.pull_request.number }} git remote add target https://${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.event.pull_request.base.repo.full_name }}
echo "COMMIT_SHA=$(git rev-parse HEAD)" >> $GITHUB_ENV git push -f target cassette-diff-${{ github.event.pull_request.number }}

View File

@@ -181,7 +181,7 @@ def create_chat_completion(
) )
warned_user = True warned_user = True
except (APIError, Timeout) as e: except (APIError, Timeout) as e:
if e.http_status != 502 : if e.http_status != 502:
raise raise
if attempt == num_retries - 1: if attempt == num_retries - 1:
raise raise