import { X } from 'lucide-react' import PipelineSelector from './PipelineSelector' import ModelSelector from './ModelSelector' import ModelInfo from './ModelInfo' import { useModel } from '../contexts/ModelContext' import TextGenerationConfig from './TextGenerationConfig' import FeatureExtractionConfig from './FeatureExtractionConfig' interface SidebarProps { isOpen: boolean onClose: () => void } const Sidebar = ({ isOpen, onClose }: SidebarProps) => { const { pipeline, setPipeline } = useModel() return ( <> {/* Overlay */} {isOpen && (
)} {/* Sidebar */}