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
9078ab6356
2
.github/workflows/tests.yml
vendored
2
.github/workflows/tests.yml
vendored
|
@ -23,7 +23,7 @@ jobs:
|
|||
- name: Start API server
|
||||
env:
|
||||
MONGO_URI: ${{ secrets.MONGO_URI }}
|
||||
TEST_NOVA_KEY: ${{ secrets.NOVA_KEY }}
|
||||
NOVA_KEY: ${{ secrets.NOVA_KEY }}
|
||||
run: |
|
||||
python run
|
||||
|
||||
|
|
|
@ -109,7 +109,7 @@ def test_all():
|
|||
|
||||
if __name__ == '__main__':
|
||||
closedai.api_base = api_endpoint
|
||||
closedai.api_key = os.getenv('TEST_NOVA_KEY')
|
||||
closedai.api_key = os.environ['NOVA_KEY']
|
||||
|
||||
HEADERS = {
|
||||
'Content-Type': 'application/json',
|
||||
|
|
Loading…
Reference in a new issue