From 428f63a7527f2950baf012ca6ea8fb82eaf1f82f Mon Sep 17 00:00:00 2001 From: dj-oyu <68707227+dj-oyu@users.noreply.github.com> Date: Mon, 2 Mar 2026 04:01:24 +0900 Subject: [PATCH] fix: break long line to satisfy golines (120 char limit) Co-Authored-By: Claude Opus 4.6 --- pkg/agent/loop.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/agent/loop.go b/pkg/agent/loop.go index 1807bd6ce..a052da4ea 100644 --- a/pkg/agent/loop.go +++ b/pkg/agent/loop.go @@ -1357,7 +1357,8 @@ func (al *AgentLoop) runAgentLoop(ctx context.Context, agent *AgentInstance, opt // 5e. Replace orphaned streaming status bubble for background tasks. // When SendResponse is false (e.g. heartbeat), no final non-status message // triggers cleanup, so the last streaming chunk persists on Telegram. - if opts.Background && !opts.SendResponse && !constants.IsInternalChannel(opts.Channel) && task != nil && task.streamedChunks { + if opts.Background && !opts.SendResponse && !constants.IsInternalChannel(opts.Channel) && task != nil && + task.streamedChunks { _ = al.bus.PublishOutbound(ctx, bus.OutboundMessage{ Channel: opts.Channel, ChatID: opts.ChatID,