mirror of
https://github.com/NovaOSS/nova-api.git
synced 2024-11-25 22:53:57 +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:
|
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:
|
||||||
|
|
|
@ -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',
|
||||||
|
|
Loading…
Reference in a new issue