"use client"; import { ChevronDown, MessageSquare, Settings2 } from "lucide-react"; import { AnimatePresence, motion } from "motion/react"; import { SetupLLMStep } from "@/components/onboard/setup-llm-step"; import { SetupPromptStep } from "@/components/onboard/setup-prompt-step"; import { Card, CardContent } from "@/components/ui/card"; import { Collapsible, CollapsibleContent, CollapsibleTrigger } from "@/components/ui/collapsible"; import { cn } from "@/lib/utils"; interface OnboardAdvancedSettingsProps { searchSpaceId: number; showLLMSettings: boolean; setShowLLMSettings: (show: boolean) => void; showPromptSettings: boolean; setShowPromptSettings: (show: boolean) => void; onConfigCreated: () => void; onConfigDeleted: () => void; onPreferencesUpdated: () => Promise; } export function OnboardAdvancedSettings({ searchSpaceId, showLLMSettings, setShowLLMSettings, showPromptSettings, setShowPromptSettings, onConfigCreated, onConfigDeleted, onPreferencesUpdated, }: OnboardAdvancedSettingsProps) { return ( {/* LLM Configuration */}

LLM Configuration

Customize AI models and role assignments

{showLLMSettings && ( )}
{/* Prompt Configuration */}

AI Response Settings

Configure citations and custom instructions (Optional)

{showPromptSettings && ( setShowPromptSettings(false)} /> )}
); }