import React from 'react' import { openExternalUrl } from '@janhq/core' import { ModalClose, ModalFooter, ModalContent, Modal, ModalTitle, ModalHeader, Button, } from '@janhq/uikit' import { useAtom } from 'jotai' import { isShowNotificationAtom, useSettings } from '@/hooks/useSettings' const GPUDriverPrompt: React.FC = () => { const [showNotification, setShowNotification] = useAtom( isShowNotificationAtom ) const { saveSettings } = useSettings() const onDoNotShowAgainChange = (e: React.ChangeEvent) => { const isChecked = !e.target.checked saveSettings({ notify: isChecked }) } const openChanged = () => { setShowNotification(false) } return (
Checking for machine that does not meet the requirements.

It appears that you are missing some dependencies required to run in GPU mode. Please follow the instructions below for more details{' '} openExternalUrl( 'https://jan.ai/guides/troubleshooting/gpu-not-used/' ) } > Jan is Not Using GPU {' '} .

Don't show again
) } export default GPUDriverPrompt