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: add chat.reasoning event_type to fix team mode
ray_lec5f748b8b446
diff --git a/jiuwenclaw/channel/feishu.py b/jiuwenclaw/channel/feishu.pyindex eca884470f..590989ca0e 100644--- a/jiuwenclaw/channel/feishu.py+++ b/jiuwenclaw/channel/feishu.py@@ -1290,7 +1290,7 @@ class FeishuChannel(BaseChannel):meta = dict(getattr(msg, "metadata", None) or {})# 处理文件消息- if msg.event_type == EventType.CHAT_FILE:+ if msg.event_type == EventType.CHAT_FILE or msg.event_type == EventType.CHAT_REASONING:if self.config.enable_file_upload and self._file_service:await self._send_file_message(msg)returndiff --git a/jiuwenclaw/schema/message.py b/jiuwenclaw/schema/message.pyindex 5353a9461e..347d3e6db4 100644--- a/jiuwenclaw/schema/message.py+++ b/jiuwenclaw/schema/message.py@@ -105,6 +105,7 @@ class EventType(Enum):CONNECTION_ACK = "connection.ack"HELLO = "hello"CHAT_DELTA = "chat.delta"+ CHAT_REASONING = "chat.reasoning"CHAT_FINAL = "chat.final"CHAT_MEDIA = "chat.media"CHAT_FILE = "chat.file"