Merge branch 'NovaOSS:main' into main

This commit is contained in:
Game_Time 2023-08-20 16:08:27 +05:00 committed by GitHub
commit 109ebbea50
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 5 deletions

View file

@ -6,7 +6,7 @@ jobs:
test: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
env: env:
MONGO_URI: justtotes MONGO_URI: ${{ secrets.MONGO_URI }}
NOVA_KEY: ${{ secrets.NOVA_KEY }} NOVA_KEY: ${{ secrets.NOVA_KEY }}
steps: steps:

View file

@ -114,10 +114,6 @@ def test_all():
if __name__ == '__main__': if __name__ == '__main__':
closedai.api_base = api_endpoint closedai.api_base = api_endpoint
closedai.api_key = os.environ['NOVA_KEY'] closedai.api_key = os.environ['NOVA_KEY']
if os.environ['NOVA_KEY']:
print('key exists!')
else:
print('idk man i dont see nuthin')
HEADERS = { HEADERS = {
'Content-Type': 'application/json', 'Content-Type': 'application/json',