镜像自地址
https://github.com/binary-husky/gpt_academic.git
已同步 2025-12-06 14:36:48 +00:00
fix msg.data.split(DELIMITER) exception when msg.data is int
这个提交包含在:
@@ -519,7 +519,11 @@ class _ChatHub:
|
||||
resp_txt_no_link = ""
|
||||
while not final:
|
||||
msg = await self.wss.receive()
|
||||
objects = msg.data.split(DELIMITER)
|
||||
try:
|
||||
objects = msg.data.split(DELIMITER)
|
||||
except :
|
||||
continue
|
||||
|
||||
for obj in objects:
|
||||
if obj is None or not obj:
|
||||
continue
|
||||
|
||||
在新工单中引用
屏蔽一个用户