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(