feat(channels): add inherited global compaction notice policy
This commit is contained in:
1 parent
7644d845b4
commit
ab6d5f1d3c
35 files changed
+287
-37
No files matched your search
@@ -2441,7 +2441,9 @@ class FeishuChannel(BaseChannel):
|
||||
|
||||
async def send(self, msg: OutboundMessage) -> None:
|
||||
"""Send a message through Feishu, including media (images/files) if present."""
|
||||
if isinstance(msg.event, ContextCompactionEvent) and not msg.event.notify:
|
||||
if isinstance(msg.event, ContextCompactionEvent) and not (
|
||||
msg.event.notify or self.show_compaction_notices
|
||||
):
|
||||
return
|
||||
if not self._client:
|
||||
self.logger.warning("client not initialized")
|
||||
|
||||
Reference in new issue
Block a user