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