Read Afia AI credentials from platform admin settings.
Deploy Ladill Link / deploy (push) Successful in 58s

Link Afia now resolves provider, model, and API keys from ladilldb.platform_settings like the monolith, with .env fallbacks for local dev.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-06-27 14:34:43 +00:00
co-authored by Cursor
parent 5a3631cd2e
commit 29993040bd
7 changed files with 159 additions and 5 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ class PaystackService
protected function settingValue(string $key, mixed $fallback = null): mixed
{
try {
if (!Schema::hasTable('platform_settings')) {
if (! Schema::connection('platform')->hasTable('platform_settings')) {
return $fallback;
}