From 206530654169046aed2120a846d5a18c602915e5 Mon Sep 17 00:00:00 2001 From: isaacclad Date: Thu, 11 Jun 2026 07:34:17 +0000 Subject: [PATCH] Afia: rebrand assistant from QR Plus to Ladill Mini MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Mini shipped the QR Plus Afia prompt. Rewrite it for Ladill Mini — payment QRs, payments, payouts, 5% fee. Co-Authored-By: Claude Opus 4.8 --- app/Services/Afia/AfiaService.php | 37 ++++++++++++------------------- 1 file changed, 14 insertions(+), 23 deletions(-) diff --git a/app/Services/Afia/AfiaService.php b/app/Services/Afia/AfiaService.php index 377ef7e..d51bb2d 100644 --- a/app/Services/Afia/AfiaService.php +++ b/app/Services/Afia/AfiaService.php @@ -88,36 +88,27 @@ 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->miniSystemPrompt($ctx); } - private function qrSystemPrompt(string $ctx): string + private function miniSystemPrompt(string $ctx): string { return <<