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
@@ -130,7 +130,7 @@ class LinearChannel(BaseChannel):
|
||||
if isinstance(event, ContextCompactionEvent):
|
||||
if event.phase == "succeeded":
|
||||
self._issue_contexts.pop(msg.chat_id, None)
|
||||
if not event.notify:
|
||||
if not (event.notify or self.show_compaction_notices):
|
||||
return
|
||||
# Idle notifications have no originating Linear turn. Sending a thought
|
||||
# through the cached route would reactivate an already completed session.
|
||||
|
||||
Reference in new issue
Block a user