From 575edf2c730a95101f9c57352a7feb292ab99e48 Mon Sep 17 00:00:00 2001 From: Thomas Cravey Date: Fri, 5 Sep 2025 07:20:41 -0500 Subject: [PATCH] fix(http): avoid err redeclare in /trigger handler --- internal/httpapi/server.go | 1 - 1 file changed, 1 deletion(-) diff --git a/internal/httpapi/server.go b/internal/httpapi/server.go index 103251c..93b9049 100644 --- a/internal/httpapi/server.go +++ b/internal/httpapi/server.go @@ -157,7 +157,6 @@ func (s *Server) handleTrigger(w http.ResponseWriter, r *http.Request) { ctxSum, cancel := context.WithTimeout(ctx, tout) defer cancel() var summary string - var err error // If we will push, use a push-optimized prompt; otherwise allow full-length if strings.EqualFold(r.URL.Query().Get("push"), "1") || strings.EqualFold(r.URL.Query().Get("push"), "true") { summary, err = s.Summarizer.SummarizeForPush(ctxSum, channel, msgs, window)