"""API 路由聚合""" from fastapi import APIRouter from .health import router as health_router from .agents import router as agents_router from .chat import router as chat_router from .tools import router as tools_router from .workflows import router as workflows_router router = APIRouter() router.include_router(health_router) router.include_router(agents_router, prefix="/agents", tags=["agents"]) router.include_router(chat_router, prefix="/conversations", tags=["chat"]) router.include_router(tools_router, prefix="/tools", tags=["tools"]) router.include_router(workflows_router, prefix="/workflows", tags=["workflows"])