Deploy Ladill Meet / deploy (push) Failing after 7s
Phases 0–18: core meetings, webinar, breakouts, team chat, live streaming, town hall, billing, and Ladill Mail calendar wiring. Co-authored-by: Cursor <cursoragent@cursor.com>
28 lines
550 B
PHP
28 lines
550 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 function __construct(
|
|
public int $transcriptId,
|
|
) {}
|
|
|
|
public function handle(MeetAiService $ai): void
|
|
{
|
|
$transcript = Transcript::find($this->transcriptId);
|
|
if (! $transcript) {
|
|
return;
|
|
}
|
|
|
|
$ai->summarize($transcript);
|
|
}
|
|
}
|