import { SelectDropDown } from '@librechat/client'; import type { TModelSelectProps } from '~/common'; import SelectDropDownPop from '~/components/Input/ModelSelect/SelectDropDownPop'; import { cn, cardStyle } from '~/utils'; export default function ChatGPT({ conversation, setOption, models, showAbove, popover = false, }: TModelSelectProps) { if (!conversation) { return null; } const { conversationId, model } = conversation; if (conversationId !== 'new') { return null; } const Menu = popover ? SelectDropDownPop : SelectDropDown; return ( ); }