feat(chatd): add tag-based dedup to push notifications (#22669)

This commit is contained in:
Danielle Maywood
2026-03-06 10:48:58 +00:00
committed by GitHub
parent 957fb556da
commit ffb47cea19
5 changed files with 78 additions and 12 deletions
+1
View File
@@ -1816,6 +1816,7 @@ func (p *Server) processChat(ctx context.Context, chat database.Chat) {
Body: "Agent has finished running.",
Icon: "/favicon.ico",
Data: map[string]string{"url": fmt.Sprintf("/agents/%s", chat.ID)},
Tag: chat.ID.String(),
}
if status == database.ChatStatusError {
pushMsg.Body = "Agent encountered an error."