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,