diff --git a/src/pages/AISettings.tsx b/src/pages/AISettings.tsx
index 6b44cb2e..575525f2 100644
--- a/src/pages/AISettings.tsx
+++ b/src/pages/AISettings.tsx
@@ -1,6 +1,6 @@
import { useState } from 'react';
import { useTranslation } from 'react-i18next';
-import { Check, Bot, ArrowLeft, Trash2, GripVertical } from 'lucide-react';
+import { Check, Bot, ArrowLeft, Trash2, GripVertical, ChevronDown } from 'lucide-react';
import {
DndContext,
closestCenter,
@@ -30,6 +30,7 @@ import { Card, CardContent } from '@/components/ui/card';
import { CreditsBadge } from '@/components/CreditsBadge';
import { CreditsDialog } from '@/components/CreditsDialog';
import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from '@/components/ui/select';
+import { Separator } from '@/components/ui/separator';
import { useAISettings } from '@/hooks/useAISettings';
import { useIsMobile } from '@/hooks/useIsMobile';
import { useCurrentUser } from '@/hooks/useCurrentUser';
@@ -187,6 +188,7 @@ export function AISettings() {
const [presetApiKeys, setPresetApiKeys] = useState
>({});
const [presetTermsAgreements, setPresetTermsAgreements] = useState>({});
const [activeCreditsDialog, setActiveCreditsDialog] = useState(null);
+ const [showAdvanced, setShowAdvanced] = useState(false);
const sensors = useSensors(
useSensor(PointerSensor),
@@ -287,7 +289,7 @@ export function AISettings() {
const availablePresets = AI_PROVIDER_PRESETS.filter(preset => !configuredProviderIds.includes(preset.id));
return (
-
+
{isMobile && (
- {/* Project Templates Section */}
-
+ {/* Advanced Settings */}
+
+
+
- {/* MCP Servers Section */}
-
+ {showAdvanced && (
+
+ {/* Project Templates Section */}
+
+
- {/* Plugins Section */}
-
+ {/* MCP Servers Section */}
+
+
+
+ {/* Plugins Section */}
+
+
+ )}
+
{/* Render credits dialog outside of accordion structure */}