feat:初始化工程

This commit is contained in:
2026-06-09 13:51:12 +08:00
commit c66d3a871e
17 changed files with 410 additions and 0 deletions

11
router.py Normal file
View File

@@ -0,0 +1,11 @@
from fastapi import APIRouter
from model import ChatRequest
from services.agent_service import query
router = APIRouter()
@router.post("/chat")
async def chat_endpoint(request: ChatRequest):
return query(request)