Deploy Ladill Meet / deploy (push) Successful in 1m17s
Defer summarization until recordings finish, merge chat with deduplicated live captions, and clear the screen-share overlay so participant cards return after sharing ends. Co-authored-by: Cursor <cursoragent@cursor.com>
30 lines
578 B
PHP
30 lines
578 B
PHP
<?php
|
|
|
|
namespace App\Jobs;
|
|
|
|
use App\Models\Transcript;
|
|
use App\Services\Meet\MeetAiService;
|
|
use Illuminate\Contracts\Queue\ShouldQueue;
|
|
use Illuminate\Foundation\Queue\Queueable;
|
|
|
|
class GenerateAiSummary implements ShouldQueue
|
|
{
|
|
use Queueable;
|
|
|
|
public int $tries = 2;
|
|
|
|
public function __construct(
|
|
public int $transcriptId,
|
|
) {}
|
|
|
|
public function handle(MeetAiService $ai): void
|
|
{
|
|
$transcript = Transcript::find($this->transcriptId);
|
|
if (! $transcript) {
|
|
return;
|
|
}
|
|
|
|
$ai->summarize($transcript);
|
|
}
|
|
}
|