fix(agent): drop unused final reply wrapper
This commit is contained in:
parent
390d517d4f
commit
3686fc695c
1 changed files with 0 additions and 17 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue