From f902e05e31753608a965ac78b0f68ebe3d12f263 Mon Sep 17 00:00:00 2001 From: hhs <386998068@qq.com> Date: Sun, 14 Jun 2026 17:39:39 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20main.go=20=E6=8E=A5=E5=85=A5=20Conversa?= =?UTF-8?q?tionHandler=20=E8=B7=AF=E7=94=B1=E6=B3=A8=E5=86=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/cmd/server/main.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/backend/cmd/server/main.go b/backend/cmd/server/main.go index 9bc51b0..6100c19 100644 --- a/backend/cmd/server/main.go +++ b/backend/cmd/server/main.go @@ -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))