AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
Test New CI Pipeline (#4170)
merwanehamadi2d9b9294d08a
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 490837fd6b..ecd6bdb525 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -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 }}diff --git a/autogpt/llm/llm_utils.py b/autogpt/llm/llm_utils.pyindex 58b197351e..a77bccbc06 100644--- a/autogpt/llm/llm_utils.py+++ b/autogpt/llm/llm_utils.py@@ -181,7 +181,7 @@ def create_chat_completion()warned_user = Trueexcept (APIError, Timeout) as e:- if e.http_status != 502 :+ if e.http_status != 502:raiseif attempt == num_retries - 1:raise