mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2025-12-23 08:54:24 +01:00
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:
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@@ -97,5 +97,5 @@ jobs:
|
||||
git config user.name "GitHub Actions"
|
||||
git commit -m "Add new cassettes"
|
||||
git checkout -b cassette-diff-${{ github.event.pull_request.number }}
|
||||
git push -f origin cassette-diff-${{ github.event.pull_request.number }}
|
||||
echo "COMMIT_SHA=$(git rev-parse HEAD)" >> $GITHUB_ENV
|
||||
git remote add target https://${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.event.pull_request.base.repo.full_name }}
|
||||
git push -f target cassette-diff-${{ github.event.pull_request.number }}
|
||||
|
||||
@@ -181,7 +181,7 @@ def create_chat_completion(
|
||||
)
|
||||
warned_user = True
|
||||
except (APIError, Timeout) as e:
|
||||
if e.http_status != 502 :
|
||||
if e.http_status != 502:
|
||||
raise
|
||||
if attempt == num_retries - 1:
|
||||
raise
|
||||
|
||||
Reference in New Issue
Block a user