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.
This commit is contained in:
parent
c05434aab1
commit
00a54c1c44
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ from lightrag.api.session_schemas import (
|
||||||
)
|
)
|
||||||
from lightrag.utils import logger
|
from lightrag.utils import logger
|
||||||
|
|
||||||
router = APIRouter(prefix="/history", tags=["Session History"])
|
router = APIRouter(tags=["Session History"])
|
||||||
|
|
||||||
|
|
||||||
async def get_current_user_id(
|
async def get_current_user_id(
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue