Deploy Ladill Woo Manager / deploy (push) Successful in 1m19s
The chat panel and POST /ai/chat route were missing after the Invoice scaffold; Afia now relays through the platform when no local OpenAI key is set. Co-authored-by: Cursor <cursoragent@cursor.com>
12 lines
467 B
PHP
12 lines
467 B
PHP
<?php
|
|
|
|
return [
|
|
'product' => env('AFIA_PRODUCT', 'woo'),
|
|
'enabled' => (bool) env('AFIA_ENABLED', true),
|
|
'provider' => env('AFIA_PROVIDER', 'openai'),
|
|
'model' => env('AFIA_MODEL', 'gpt-4o-mini'),
|
|
'api_key' => env('AFIA_API_KEY', env('OPENAI_API_KEY')),
|
|
'platform_api_url' => env('AFIA_PLATFORM_API_URL', env('IDENTITY_API_URL', 'https://ladill.com/api')),
|
|
'platform_api_key' => env('AFIA_PLATFORM_API_KEY', env('IDENTITY_API_KEY_WOO')),
|
|
];
|