Generate AI summaries when meetings end, not only after recordings.
Deploy Ladill Meet / deploy (push) Successful in 1m1s
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:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user