RAG_APP / app /api /v1 /api_router.py
GitHub Actions
Sync from GitHub commit: bbc03771
1dc0474
raw
history blame contribute delete
403 Bytes
from fastapi import APIRouter
from app.api.v1.endpoints import chat, document, history # Ensure these exist
api_router = APIRouter() # <--- This name MUST match exactly
api_router.include_router(chat.router, prefix="/chat", tags=["Chat"])
api_router.include_router(document.router, prefix="/documents", tags=["Documents"])
api_router.include_router(history.router, prefix="/history", tags=["History"])