downgraded laravel

This commit is contained in:
Doar Mihai
2026-05-01 23:33:15 +03:00
parent 96e8fa3859
commit 99d2cc9a25
12 changed files with 898 additions and 779 deletions
@@ -12,9 +12,9 @@ use Illuminate\Support\Facades\Http;
#[Description('Command description')]
class GenerateJobSummaryCommand extends Command
{
/**
* Execute the console command.
*/
protected $signature = 'jobs:summary {--batch=50}';
protected $description = 'Generate AI summaries for jobs';
public function handle()
{
$batchSize = (int) $this->option('batch');
@@ -39,7 +39,8 @@ class GenerateJobSummaryCommand extends Command
$summary = $this->generateSummary($job);
if ($summary) {
$job->summary = $summary;
$summary = str_replace('Summary:', "", $summary);
$job->summary = trim($summary);
$job->save();
}
}