Merge branch 'NovaOSS:main' into main

This commit is contained in:
Game_Time 2023-08-19 19:12:41 +05:00 committed by GitHub
commit 9078ab6356
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -23,7 +23,7 @@ jobs:
- name: Start API server - name: Start API server
env: env:
MONGO_URI: ${{ secrets.MONGO_URI }} MONGO_URI: ${{ secrets.MONGO_URI }}
TEST_NOVA_KEY: ${{ secrets.NOVA_KEY }} NOVA_KEY: ${{ secrets.NOVA_KEY }}
run: | run: |
python run python run

View file

@ -109,7 +109,7 @@ def test_all():
if __name__ == '__main__': if __name__ == '__main__':
closedai.api_base = api_endpoint closedai.api_base = api_endpoint
closedai.api_key = os.getenv('TEST_NOVA_KEY') closedai.api_key = os.environ['NOVA_KEY']
HEADERS = { HEADERS = {
'Content-Type': 'application/json', 'Content-Type': 'application/json',