fix(agent): drop unused final reply wrapper

This commit is contained in:
Anton Bogdanovich 2026-05-09 11:21:11 -07:00
parent 390d517d4f
commit 3686fc695c

View file

@ -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,