修改了 AgentNamespace 类,将全局实例变量替换为字典,使用用户 UUID 作为键
This commit is contained in:
@@ -75,9 +75,6 @@ document.addEventListener('DOMContentLoaded', function () {
|
||||
folder: user_data.folder
|
||||
}
|
||||
});
|
||||
console.log('Connecting to WebSocket server at wss://${host}/agent');
|
||||
console.log(user_data);
|
||||
|
||||
// 初始化聊天消息管理器
|
||||
chatManager = new ChatMessageManager();
|
||||
socket.on('connect', function () {
|
||||
|
||||
Reference in New Issue
Block a user