From 86e40bfbd22a3da1a333991945e63180efd8cc8c Mon Sep 17 00:00:00 2001 From: isaacclad Date: Thu, 11 Jun 2026 07:34:26 +0000 Subject: [PATCH] Afia: rebrand assistant from QR Plus to Ladill Events MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Events shipped the QR Plus Afia (prompt, greeting, suggestions, and 'QR Plus assistant' subtitle). Rewrite all for Ladill Events — events, tickets, attendees, check-in, badges, programmes, payouts. Co-Authored-By: Claude Opus 4.8 --- app/Services/Afia/AfiaService.php | 38 ++++++++++--------------- resources/views/partials/afia.blade.php | 12 ++++---- 2 files changed, 21 insertions(+), 29 deletions(-) diff --git a/app/Services/Afia/AfiaService.php b/app/Services/Afia/AfiaService.php index 377ef7e..89e4010 100644 --- a/app/Services/Afia/AfiaService.php +++ b/app/Services/Afia/AfiaService.php @@ -88,36 +88,28 @@ class AfiaService { $ctx = collect($context)->map(fn ($v, $k) => "- {$k}: {$v}")->implode("\n"); - return match ((string) config('afia.product', 'qr')) { - 'qr' => $this->qrSystemPrompt($ctx), - default => $this->qrSystemPrompt($ctx), - }; + return $this->eventsSystemPrompt($ctx); } - private function qrSystemPrompt(string $ctx): string + private function eventsSystemPrompt(string $ctx): string { return <<

Afia

-

QR Plus assistant

+

Events assistant