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