feat: main.go 接入 ConversationHandler 路由注册

This commit is contained in:
hhs
2026-06-14 17:39:39 +08:00
parent 62baa656ee
commit f902e05e31

View File

@@ -140,6 +140,10 @@ func main() {
authHandler := api.NewAuthHandler(authService, tokenMgr)
authHandler.RegisterRoutes(apiGroup)
// Conversation REST 端点
convHandler := api.NewConversationHandler(sessionMgr, tokenMgr)
convHandler.RegisterRoutes(apiGroup)
// WebSocket
r.GET("/ws", ws.ServeWS(sessionMgr, orch, cfg))