fix(streaming): preserve recovered segments across channels
This commit is contained in:
1 parent
e6baecafcd
commit
b55b76d755
12 files changed
+208
No files matched your search
@@ -931,6 +931,10 @@ class TelegramChannel(BaseChannel):
|
||||
meta = metadata or {}
|
||||
int_chat_id = int(chat_id)
|
||||
|
||||
if stream_end and merge_next:
|
||||
if not delta:
|
||||
return
|
||||
stream_end = False
|
||||
if stream_end:
|
||||
buf = self._stream_bufs.get(chat_id)
|
||||
if not buf or not buf.message_id or not buf.text:
|
||||
|
||||
Reference in new issue
Block a user