import { useAtomValue, useSetAtom } from 'jotai' import ModalTroubleShooting, { modalTroubleShootingAtom, } from '@/containers/ModalTroubleShoot' import { MainViewState } from '@/constants/screens' import { loadModelErrorAtom } from '@/hooks/useActiveModel' import { mainViewStateAtom } from '@/helpers/atoms/App.atom' const LoadModelError = () => { const setModalTroubleShooting = useSetAtom(modalTroubleShootingAtom) const loadModelError = useAtomValue(loadModelErrorAtom) const setMainState = useSetAtom(mainViewStateAtom) const PORT_NOT_AVAILABLE = 'PORT_NOT_AVAILABLE' return (
Port 3928 is currently unavailable. Check for conflicting apps, or access setModalTroubleShooting(true)} > troubleshooting assistance for further support.
Model is currently unavailable. Please switch to a different model or install the{' '} {' '} to continue using it.
Jan’s in beta. Access setModalTroubleShooting(true)} > troubleshooting assistance now.