<?php
/**
 * Example OpenAI / AI Assistant Configuration.
 *
 * Copy this file to app/config/openai.php for local installs. Keep the real
 * openai.php file out of git.
 */

return [
    'enabled' => getenv('AI_FEATURE_ENABLED') ?: '0',
    'api_key' => getenv('OPENAI_API_KEY') ?: '',
    'model' => getenv('OPENAI_MODEL') ?: 'gpt-4.1-mini',
    'api_base' => getenv('OPENAI_API_BASE') ?: 'https://api.openai.com/v1',
    'timeout' => (int)(getenv('OPENAI_TIMEOUT') ?: 30),
];
