Skip to content

Commit

Permalink
fix text embeddings backend full
Browse files Browse the repository at this point in the history
  • Loading branch information
justinthelaw committed Oct 1, 2024
1 parent ca55f72 commit 807fbdc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/e2e-text-backend-full-cpu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,5 +104,7 @@ jobs:
# Test
##########
- name: Test Text Backend
env:
LEAPFROGAI_MODEL: llama-cpp-python
run: |
python -m pytest ./tests/e2e/test_text_backend_full.py -v
2 changes: 2 additions & 0 deletions .github/workflows/weekly-registry1-flavor-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ jobs:
env:
ANON_KEY: ${{ steps.generate_secrets.outputs.ANON_KEY }}
SERVICE_KEY: ${{ steps.generate_secrets.outputs.SERVICE_KEY }}
LEAPFROGAI_MODEL: llama-cpp-python
run: |
python -m pytest -vvv -s ./tests/e2e
Expand All @@ -156,6 +157,7 @@ jobs:
SERVICE_ROLE_KEY: ${{ steps.generate_secrets.outputs.SERVICE_KEY }}
FAKE_E2E_USER_PASSWORD: ${{ steps.generate_secrets.outputs.FAKE_PASSWORD }}
ANON_KEY: ${{ steps.generate_secrets.outputs.ANON_KEY }}
LEAPFROGAI_MODEL: llama-cpp-python
run: |
chmod +x ./.github/scripts/createUser.sh
./.github/scripts/createUser.sh
Expand Down
2 changes: 1 addition & 1 deletion tests/utils/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def get_leapfrogai_api_key() -> str:
logging.warning(
"LEAPFROGAI_API_KEY or SUPABASE_USER_JWT not set, automatically generating test user."
)
api_key = create_test_user()
return create_test_user()

return api_key

Expand Down

0 comments on commit 807fbdc

Please sign in to comment.