Skip to content

Commit

Permalink
Merge branch 'refs/heads/main' into jv/144/django_orm_only
Browse files Browse the repository at this point in the history
# Conflicts:
#	labs/api/codemonkey_endpoints.py
#	labs/config/urls.py
#	labs/core/migrations/0001_initial.py
#	labs/core/models.py
#	labs/database/connect.py
#	labs/database/models.py
#	labs/embeddings/base.py
#	labs/llm.py
#	labs/repo.py
#	labs/tests/conftest.py
#	labs/tests/database/test_embeddings.py
#	poetry.lock
#	pyproject.toml
  • Loading branch information
jfrverdasca committed Nov 15, 2024
2 parents 229bdf5 + 634fe5f commit 08170a3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
8 changes: 8 additions & 0 deletions labs/config/ninja.py
Original file line number Diff line number Diff line change
@@ -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)
1 change: 0 additions & 1 deletion labs/core/models.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
from django.db import models
from pgvector.django import VectorField

AVAILABLE_KEYS = [
"LITELLM_MASTER_KEY",
Expand Down

0 comments on commit 08170a3

Please sign in to comment.