Skip to content

JiuwenSwarm is an intelligent AI Agent built on openJiuwen. It extends the powerful capabilities of large language models directly to your fingertips through various communication apps you use daily.

Python

fix: 飞书流式问题回退

ray_le2720d38fea0d
diff --git a/jiuwenclaw/channel/feishu.py b/jiuwenclaw/channel/feishu.py
index 7d1385d94c..e69a953016 100644
--- a/jiuwenclaw/channel/feishu.py
+++ b/jiuwenclaw/channel/feishu.py
@@ -597,13 +597,6 @@ class FeishuChannel(BaseChannel):
self._stream_text_buffers[stream_key] = (
self._stream_text_buffers.get(stream_key, "") + delta
)
- # 开启流式时实时发送增量(思考过程)
- if streaming_enabled:
- await self._send_feishu_message(
- *self._extract_receive_info(msg),
- self._build_card_content(delta),
- msg.id,
- )
return
# 非 streaming 模式下仅下发最终结果,屏蔽执行过程类事件。