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)