From 00ad6be7ea993fd7d45c4f9de7d89da72d095a59 Mon Sep 17 00:00:00 2001 From: Boris Bliznioukov Date: Thu, 5 Mar 2026 13:30:24 +0100 Subject: [PATCH] Update pkg/agent/loop.go Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- pkg/agent/loop.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/agent/loop.go b/pkg/agent/loop.go index 82dca9d30..c8936fe2b 100644 --- a/pkg/agent/loop.go +++ b/pkg/agent/loop.go @@ -673,7 +673,7 @@ func (al *AgentLoop) runAgentLoop( ) (string, error) { // 0. Record last channel for heartbeat notifications (skip internal channels and cli) if opts.Channel != "" && opts.ChatID != "" { - if !constants.IsInternalChannel(opts.Channel) && opts.Channel != "cli" { + if !constants.IsInternalChannel(opts.Channel) { channelKey := fmt.Sprintf("%s:%s", opts.Channel, opts.ChatID) if err := al.RecordLastChannel(channelKey); err != nil { logger.WarnCF(