mirror of
https://github.com/NovaOSS/nova-api.git
synced 2024-11-25 20:43:56 +01:00
Merge branch 'NovaOSS:main' into main
This commit is contained in:
commit
109ebbea50
2
.github/workflows/tests.yml
vendored
2
.github/workflows/tests.yml
vendored
|
@ -6,7 +6,7 @@ jobs:
|
|||
test:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
MONGO_URI: justtotes
|
||||
MONGO_URI: ${{ secrets.MONGO_URI }}
|
||||
NOVA_KEY: ${{ secrets.NOVA_KEY }}
|
||||
|
||||
steps:
|
||||
|
|
|
@ -114,10 +114,6 @@ def test_all():
|
|||
if __name__ == '__main__':
|
||||
closedai.api_base = api_endpoint
|
||||
closedai.api_key = os.environ['NOVA_KEY']
|
||||
if os.environ['NOVA_KEY']:
|
||||
print('key exists!')
|
||||
else:
|
||||
print('idk man i dont see nuthin')
|
||||
|
||||
HEADERS = {
|
||||
'Content-Type': 'application/json',
|
||||
|
|
Loading…
Reference in a new issue