mirror of
https://github.com/zhayujie/chatgpt-on-wechat.git
synced 2026-07-20 05:27:59 +08:00
feat: improve channel connection stability
This commit is contained in:
@@ -26,6 +26,7 @@ class ChatChannel(Channel):
|
||||
user_id = None # 登录的用户id
|
||||
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
# Instance-level attributes so each channel subclass has its own
|
||||
# independent session queue and lock. Previously these were class-level,
|
||||
# which caused contexts from one channel (e.g. Feishu) to be consumed
|
||||
|
||||
Reference in New Issue
Block a user