From 00a54c1c44f6431c268a31771ebb1ce3e46ff6af Mon Sep 17 00:00:00 2001 From: daohp Date: Wed, 3 Dec 2025 14:52:38 +0700 Subject: [PATCH] refactor: Simplify history router initialization - Removed the prefix from the history router to streamline the API structure. - Adjusted the router configuration for improved clarity and maintainability. --- lightrag/api/routers/history_routes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lightrag/api/routers/history_routes.py b/lightrag/api/routers/history_routes.py index 4f138fa8..9274fe0c 100644 --- a/lightrag/api/routers/history_routes.py +++ b/lightrag/api/routers/history_routes.py @@ -21,7 +21,7 @@ from lightrag.api.session_schemas import ( ) from lightrag.utils import logger -router = APIRouter(prefix="/history", tags=["Session History"]) +router = APIRouter(tags=["Session History"]) async def get_current_user_id(