<?php
/**
 * AI Assistant Configuration
 * Store your Anthropic API key here
 * 
 * SECURITY NOTE: 
 * - Never commit this file to version control
 * - Add config/ai_config.php to your .gitignore
 * - Set proper file permissions (chmod 600)
 */

// Anthropic API Configuration
define('ANTHROPIC_API_KEY', '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'); // Replace with your actual API key
define('ANTHROPIC_MODEL', 'claude-sonnet-4-20250514');
define('ANTHROPIC_API_VERSION', '2023-06-01');
define('ANTHROPIC_MAX_TOKENS', 1500);

// API Endpoints
define('ANTHROPIC_API_URL', 'https://api.anthropic.com/v1/messages');

/**
 * Get Anthropic API Key
 * @return string
 */
function getAnthropicApiKey() {
    return ANTHROPIC_API_KEY;
}

/**
 * Validate API Key
 * @return bool
 */
function isApiKeyConfigured() {
    return ANTHROPIC_API_KEY !== '' && ANTHROPIC_API_KEY !== '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';
}
?>