Skip to content

Commit

Permalink
include routers back
Browse files Browse the repository at this point in the history
  • Loading branch information
shreyaspimpalgaonkar committed Nov 20, 2024
1 parent 6ee5254 commit 885bccb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions py/core/main/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,11 @@ async def r2r_exception_handler(request: Request, exc: R2RException):

def _setup_routes(self):
# Include routers in the app
# self.app.include_router(self.ingestion_router, prefix="/v2")
# self.app.include_router(self.management_router, prefix="/v2")
# self.app.include_router(self.retrieval_router, prefix="/v2")
# self.app.include_router(self.auth_router, prefix="/v2")
# self.app.include_router(self.kg_router, prefix="/v2")
self.app.include_router(self.ingestion_router, prefix="/v2")
self.app.include_router(self.management_router, prefix="/v2")
self.app.include_router(self.retrieval_router, prefix="/v2")
self.app.include_router(self.auth_router, prefix="/v2")
self.app.include_router(self.kg_router, prefix="/v2")

self.app.include_router(self.documents_router, prefix="/v3")
self.app.include_router(self.chunks_router, prefix="/v3")
Expand Down

0 comments on commit 885bccb

Please sign in to comment.