"""行业研究路由。""" from fastapi import APIRouter, Depends from app.core.dependencies import get_current_user from app.models.user import User from app.schemas.common import ApiResponse, success from app.services.industry_research_agent import research_industry router = APIRouter(prefix="/industry-research", tags=["industry-research"]) @router.post("/research", response_model=ApiResponse[dict]) async def research(req: dict, user: User = Depends(get_current_user)): """AI 行业研究。""" result = await research_industry(req.get("industry", ""), req.get("companies", "")) return success(data=result)