diff --git a/admin.php b/admin.php index cc01e22..3f3c77d 100644 --- a/admin.php +++ b/admin.php @@ -385,7 +385,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') { $activeTab = 'system'; try { $aiEnabled = isset($_POST['ai_enabled']) ? 1 : 0; - $aiModel = trim((string)($_POST['ai_model'] ?? 'gemini-1.5-pro')); + $aiModel = trim((string)($_POST['ai_model'] ?? 'gemini-2.0-flash')); $aiProvider = trim((string)($_POST['ai_provider'] ?? '')); if (empty($aiProvider)) { $aiProvider = str_contains($aiModel, 'gpt') ? 'openai' : 'gemini'; @@ -2126,10 +2126,9 @@ require_once __DIR__ . '/includes/header.php'; - - + +