diff --git a/labs/config/ninja.py b/labs/config/ninja.py new file mode 100644 index 0000000..5a7c3cc --- /dev/null +++ b/labs/config/ninja.py @@ -0,0 +1,8 @@ +from api.codemonkey_endpoints import router as codemonkey_router +from api.github_endpoints import router as github_router +from ninja import NinjaAPI + +ninja_api = NinjaAPI(title="Labs") + +ninja_api.add_router("/codemonkey", codemonkey_router) +ninja_api.add_router("/github", github_router) diff --git a/labs/core/models.py b/labs/core/models.py index 7fbf8d6..b03ebac 100644 --- a/labs/core/models.py +++ b/labs/core/models.py @@ -1,5 +1,4 @@ from django.db import models -from pgvector.django import VectorField AVAILABLE_KEYS = [ "LITELLM_MASTER_KEY",