From 0a812e496f45f60db27146a80cee06093dc1decc Mon Sep 17 00:00:00 2001 From: CakeCN Date: Fri, 9 Jan 2026 11:24:13 +0800 Subject: [PATCH] fix namespace init --- Html/apps/sockets/namespaces.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Html/apps/sockets/namespaces.py b/Html/apps/sockets/namespaces.py index 8f40c80..332add9 100644 --- a/Html/apps/sockets/namespaces.py +++ b/Html/apps/sockets/namespaces.py @@ -63,8 +63,8 @@ class VSCodeNamespace(Namespace): class AgentNamespace(Namespace): - def __init__(self): - super().__init__() + def __init__(self, namespace): + super().__init__(namespace) # 使用字典存储每个用户的chatmanager和ase_client,避免多用户冲突 self.user_chatmanagers = {} self.user_ase_clients = {}