import React from 'react'; import { Button } from '../ui/Button.tsx'; import CrossIcon from '../svg/CrossIcon'; // import SaveIcon from '../svg/SaveIcon'; import { Save } from 'lucide-react'; import { cn } from '~/utils/'; function EndpointOptionsPopover({ content, visible, saveAsPreset, switchToSimpleMode, additionalButton = null }) { const cardStyle = 'shadow-md rounded-md min-w-[75px] font-normal bg-white border-black/10 border dark:bg-gray-700 text-black dark:text-white'; return ( <>
{/* Advanced settings for OpenAI endpoint */} {additionalButton && ( )}
{content}
); } export default EndpointOptionsPopover;