Spaces:
Sleeping
Sleeping
Girish Jeswani commited on
Commit ·
c293a5f
1
Parent(s): ac9d735
add canvas router
Browse files
multi_llm_chatbot_backend/app/main.py
CHANGED
|
@@ -14,6 +14,7 @@ from app.core.database import connect_to_mongo, close_mongo_connection
|
|
| 14 |
from app.api.routes import router as main_router
|
| 15 |
from app.api.routes.auth import router as auth_router
|
| 16 |
from app.api.routes.chat_sessions import router as chat_sessions_router
|
|
|
|
| 17 |
|
| 18 |
import logging
|
| 19 |
|
|
@@ -51,6 +52,7 @@ app.add_middleware(
|
|
| 51 |
app.include_router(main_router)
|
| 52 |
app.include_router(auth_router, prefix="/auth", tags=["authentication"])
|
| 53 |
app.include_router(chat_sessions_router, prefix="/api", tags=["chat-sessions"])
|
|
|
|
| 54 |
|
| 55 |
@app.get("/")
|
| 56 |
def root():
|
|
|
|
| 14 |
from app.api.routes import router as main_router
|
| 15 |
from app.api.routes.auth import router as auth_router
|
| 16 |
from app.api.routes.chat_sessions import router as chat_sessions_router
|
| 17 |
+
from app.api.routes.phd_canvas import router as phd_canvas_router
|
| 18 |
|
| 19 |
import logging
|
| 20 |
|
|
|
|
| 52 |
app.include_router(main_router)
|
| 53 |
app.include_router(auth_router, prefix="/auth", tags=["authentication"])
|
| 54 |
app.include_router(chat_sessions_router, prefix="/api", tags=["chat-sessions"])
|
| 55 |
+
app.include_router(phd_canvas_router, prefix="/api", tags=["phd-canvas"])
|
| 56 |
|
| 57 |
@app.get("/")
|
| 58 |
def root():
|