From 3686fc695c9aba3aa95c6ecb8ca1009b54ed63d5 Mon Sep 17 00:00:00 2001 From: Anton Bogdanovich <27antonb@gmail.com> Date: Sat, 9 May 2026 11:21:11 -0700 Subject: [PATCH] fix(agent): drop unused final reply wrapper --- pkg/agent/agent_outbound.go | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/pkg/agent/agent_outbound.go b/pkg/agent/agent_outbound.go index ac9f71f9a..91b69b6bc 100644 --- a/pkg/agent/agent_outbound.go +++ b/pkg/agent/agent_outbound.go @@ -55,23 +55,6 @@ func (al *AgentLoop) maybePublishErrorWithPolicy( return true } -func (al *AgentLoop) publishResponseOrError( - ctx context.Context, - channel, chatID, sessionKey string, - response string, - err error, -) { - al.publishResponseOrErrorWithPolicy( - ctx, - channel, - chatID, - sessionKey, - response, - err, - finalResponseSuppressIfMessageToolSent, - ) -} - func (al *AgentLoop) publishResponseOrErrorWithPolicy( ctx context.Context, channel, chatID, sessionKey string,