Fix potential infinite loop in reaction tool by marking results as handled.

This commit is contained in:
stevef 2026-04-20 11:55:28 +02:00
parent c12c51593c
commit 337dfe960a
2 changed files with 4 additions and 3 deletions

View file

@ -83,5 +83,6 @@ func (t *ReactionTool) Execute(ctx context.Context, args map[string]any) *ToolRe
return &ToolResult{
ForLLM: fmt.Sprintf("Reaction added to %s:%s message %s", channel, chatID, messageID),
Silent: true,
ResponseHandled: true,
}
}