fix(streaming): preserve recovered segments across channels

This commit is contained in:
Xubin Ren committed 2026-07-27 01:39:46 +08:00
1 parent e6baecafcd
commit b55b76d755
12 files changed
+208

No files matched your search

+4
View File
@@ -2232,6 +2232,10 @@ class FeishuChannel(BaseChannel):
rid_type = "chat_id" if chat_id.startswith("oc_") else "open_id"
# --- stream end: final update or fallback ---
if stream_end and merge_next:
if not delta:
return
stream_end = False
if stream_end:
message_id = meta.get("message_id")
# Only finalize the OnIt -> DONE reaction transition on the truly