From 7df7d79d25acd4534d7ff22855695df6558963c2 Mon Sep 17 00:00:00 2001 From: isaacclad Date: Thu, 11 Jun 2026 07:34:08 +0000 Subject: [PATCH] Afia: rebrand assistant from QR Plus to Ladill Give MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Give app shipped the QR Plus Afia prompt (self-identified as 'Ladill QR Plus' and described QR-code features). Rewrite it for Ladill Give — giving pages, donations, payouts, 9% 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..9783cb8 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->giveSystemPrompt($ctx); } - private function qrSystemPrompt(string $ctx): string + private function giveSystemPrompt(string $ctx): string { return <<