🎨 优化前端对话页面 && 优化ai流式传输

Signed-off-by: Echo <1711788888@qq.com>
This commit is contained in:
2026-02-27 22:50:26 +08:00
parent f4e166c5ee
commit 689e8af3df
7 changed files with 721 additions and 320 deletions

View File

@@ -21,5 +21,6 @@ func (r *ConversationRouter) InitConversationRouter(Router *gin.RouterGroup) {
conversationRouter.DELETE(":id", conversationApi.DeleteConversation) // 删除对话
conversationRouter.GET(":id/messages", conversationApi.GetMessageList) // 获取消息列表
conversationRouter.POST(":id/message", conversationApi.SendMessage) // 发送消息
conversationRouter.POST(":id/regenerate", conversationApi.RegenerateMessage) // 重新生成消息
}
}