import React from 'react'; import { HoverCardPortal, HoverCardContent } from '~/components/ui/HoverCard.tsx'; import { useRecoilValue } from 'recoil'; import store from '~/store'; import { localize } from '~/localization/Translation'; const types = { temp: 'com_endpoint_openai_temp', max: 'com_endpoint_openai_max', topp: 'com_endpoint_openai_topp', freq: 'com_endpoint_openai_freq', pres: 'com_endpoint_openai_pres', }; function OptionHover({ type, side }) { const lang = useRecoilValue(store.lang); return (

{localize(lang, types[type])}

); } export default OptionHover;