From 388bd8e3eda5a8b99f795f5b9365d36d5f829bc2 Mon Sep 17 00:00:00 2001 From: djeebus Date: Wed, 10 Jan 2024 15:30:52 -0500 Subject: [PATCH] AI summary does not fail the build --- pkg/diff/ai_summary.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/diff/ai_summary.go b/pkg/diff/ai_summary.go index fa31a2dc..760e150d 100644 --- a/pkg/diff/ai_summary.go +++ b/pkg/diff/ai_summary.go @@ -23,7 +23,7 @@ func AIDiffSummary(ctx context.Context, mrNote *pkg.Message, name string, manife if err != nil { telemetry.SetError(span, err, "OpenAI SummarizeDiff") log.Error().Err(err).Msg("failed to summarize diff") - cr := pkg.CheckResult{State: pkg.StateWarning, Summary: "failed to summarize diff", Details: err.Error()} + cr := pkg.CheckResult{State: pkg.StateNone, Summary: "failed to summarize diff", Details: err.Error()} mrNote.AddToAppMessage(ctx, name, cr) return }