Skip to content

Commit

Permalink
Merge branch 'main' into resolve-failing-backend-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
aakrem authored Feb 15, 2024
2 parents c231562 + 2ca4b9c commit de57c97
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 113 deletions.
30 changes: 0 additions & 30 deletions agenta-backend/agenta_backend/models/api/organization_models.py

This file was deleted.

82 changes: 0 additions & 82 deletions agenta-backend/agenta_backend/routers/organization_router.py

This file was deleted.

3 changes: 3 additions & 0 deletions agenta-backend/agenta_backend/tasks/evaluations.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,9 @@ def evaluate(
loop.run_until_complete(DBEngine().init_db())
app = loop.run_until_complete(fetch_app_by_id(app_id))
app_variant_db = loop.run_until_complete(fetch_app_variant_by_id(variant_id))
assert (
app_variant_db is not None
), f"App variant with id {variant_id} not found!"
app_variant_parameters = app_variant_db.config.parameters
testset_db = loop.run_until_complete(fetch_testset_by_id(testset_id))
new_evaluation_db = loop.run_until_complete(
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ services:
"--log-level",
"info",
"--root-path",
"/api",
"/api"
]
labels:
- "traefik.http.routers.backend.rule=PathPrefix(`/api/`)"
Expand Down

0 comments on commit de57c97

Please sign in to comment.