From 76e58d34fe6212f787ffe65cb486b8b21d671491 Mon Sep 17 00:00:00 2001 From: "sentry-autofix[bot]" <157164994+sentry-autofix[bot]@users.noreply.github.com> Date: Fri, 31 Jan 2025 18:26:05 +0000 Subject: [PATCH] Handle None responses for insights and justifications in Insight Sharing module --- .../automation/autofix/components/insight_sharing/component.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/seer/automation/autofix/components/insight_sharing/component.py b/src/seer/automation/autofix/components/insight_sharing/component.py index 2e7d655f1..65bdf1c62 100644 --- a/src/seer/automation/autofix/components/insight_sharing/component.py +++ b/src/seer/automation/autofix/components/insight_sharing/component.py @@ -125,7 +125,7 @@ def create_insight_output( response = InsightSharingOutput( insight=insight, - justification=justification, + justification=justification or "", generated_at_memory_index=generated_at_memory_index, ) return response, usage