mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-11-11 19:53:50 +08:00
1. 发起 socket 连接时候传入 chatId 来区分会话。
2. Chat-Plus 界面新增复制回复内容按钮。 3. 优化 ChatFree 聊天会话切换和管理逻辑。
This commit is contained in:
@@ -46,6 +46,7 @@ type ChatSession struct {
|
||||
SessionId string `json:"session_id"`
|
||||
ClientIP string `json:"client_ip"` // 客户端 IP
|
||||
Username string `json:"user"` // 当前登录的 user
|
||||
ChatId string `json:"chat_id"` // 客户端聊天会话 ID
|
||||
}
|
||||
|
||||
// ChatContext 聊天上下文
|
||||
|
||||
Reference in New Issue
Block a user