<?php
/**
 * OpenAI / AI Assistant Configuration
 *
 * Keep real secrets out of git. In production, prefer OPENAI_API_KEY from the
 * environment. For local installs that do not use env vars, this file is the
 * dedicated place to set the API key.
 */

return [
    'enabled' => getenv('AI_FEATURE_ENABLED') ?: '0',
    'api_key' => getenv('OPENAI_API_KEY') ?: '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',
    'model' => getenv('OPENAI_MODEL') ?: 'gpt-5-nano',
    'api_base' => getenv('OPENAI_API_BASE') ?: 'https://api.openai.com/v1',
    'timeout' => (int)(getenv('OPENAI_TIMEOUT') ?: 30),
];
