diff --git a/pkg/agent/adapters/channelmanager.go b/pkg/agent/adapters/channelmanager.go index 0dd8dc384..ad0840e86 100644 --- a/pkg/agent/adapters/channelmanager.go +++ b/pkg/agent/adapters/channelmanager.go @@ -44,6 +44,8 @@ func (a *channelManagerAdapter) SendPlaceholder(ctx context.Context, channel, ch return a.inner.SendPlaceholder(ctx, channel, chatID) } -func (a *channelManagerAdapter) DismissToolFeedback(ctx context.Context, channel, chatID string, outboundCtx *bus.InboundContext) { +func (a *channelManagerAdapter) DismissToolFeedback( + ctx context.Context, channel, chatID string, outboundCtx *bus.InboundContext, +) { a.inner.DismissToolFeedback(ctx, channel, chatID, outboundCtx) } diff --git a/pkg/channels/manager.go b/pkg/channels/manager.go index eb9d3f75c..c6dcfebe3 100644 --- a/pkg/channels/manager.go +++ b/pkg/channels/manager.go @@ -197,7 +197,9 @@ func clearTrackedToolFeedbackMessage( // response (e.g., ResponseHandled tools) to stop orphaned animation goroutines. // outboundCtx carries topic/thread info for channels that use scoped tracker // keys (e.g., Telegram forum topics); may be nil for non-topic channels. -func (m *Manager) DismissToolFeedback(ctx context.Context, channelName, chatID string, outboundCtx *bus.InboundContext) { +func (m *Manager) DismissToolFeedback( + ctx context.Context, channelName, chatID string, outboundCtx *bus.InboundContext, +) { ch, ok := m.GetChannel(channelName) if !ok { return