# -*- coding: utf-8 -*-
"""
API 路由包 —— 组装所有子路由到一个主 Router 上

子路由模块：
- click_routes:   POST /api/interpret/click/tun, /api/interpret/click/device
- chat_routes:    POST /api/chat
- review_routes:  POST /api/vent/review/pdf
- session_routes: GET /api/chat/history/{session_id}, GET /api/sessions, DELETE /api/sessions/{session_id}
"""

from fastapi import APIRouter

from api.click_routes import router as click_router
from api.chat_routes import router as chat_router
from api.review_routes import router as review_router
from api.session_routes import router as session_router
from api.model_routes import router as model_router
from api.skill_routes import router as skill_router

# 创建主路由
router = APIRouter(prefix="/api", tags=["通风数据解读"])

# 挂载所有子路由
router.include_router(click_router)
router.include_router(chat_router)
router.include_router(review_router)
router.include_router(session_router)
router.include_router(model_router)
router.include_router(skill_router)
