Generate AI summaries when meetings end, not only after recordings.
Deploy Ladill Meet / deploy (push) Successful in 1m1s

Queue summarization on session end (with a short delay for late captions),
keep recording-ready as a refresh path, and unique the summary job so end
plus recording do not double-process the same transcript.
This commit is contained in:
isaacclad
2026-07-16 00:15:13 +00:00
parent 3f0c94cae7
commit 9121f01b1c
5 changed files with 150 additions and 9 deletions
+9 -1
View File
@@ -81,7 +81,15 @@ class SessionService
app(UsageMeteringService::class)->recordSessionUsage($session);
return $session;
// Summarize on meeting end (not only when a recording is ready). Short delay
// lets the last caption/chat POSTs land before the transcript is finalized.
$session->loadMissing('room');
$transcripts = app(TranscriptService::class);
if ($transcripts->shouldAutoSummarize($session)) {
$transcripts->finalizeAndSummarize($session->fresh(), null, 20);
}
return $session->fresh();
}
public function joinParticipant(