🔥(summary) remove call to summary enabled feature flag

We now rely only on the value coming from
the API request. This feature flag should
be handled by the caller.
This commit is contained in:
Florent Chehab
2026-07-06 21:45:29 +02:00
parent 224d6ce358
commit e6f0ff5112
2 changed files with 6 additions and 5 deletions
@@ -406,11 +406,6 @@ def _should_auto_create_summary(payload: TranscribeTaskJob) -> bool:
reason = "Auto create summary is not requested in the payload"
elif not settings.is_summary_enabled:
reason = "Summary feature is disabled"
elif not analytics.is_feature_enabled(
"summary-enabled",
distinct_id=payload.user_sub,
):
reason = "Summary feature flag return false"
else:
return True