AiWarning.tsx14 lines · main
| 1 | import { Microscope } from 'lucide-react' |
| 2 | import { Alert, AlertDescription, AlertTitle, cn } from 'ui' |
| 3 | |
| 4 | const AiWarning = ({ className }: { className?: string }) => ( |
| 5 | <Alert className={cn('m-0!', className)} variant="warning"> |
| 6 | <Microscope strokeWidth={1.5} size={18} className="text-foreground-muted" /> |
| 7 | <AlertTitle>Briven AI is experimental and may produce incorrect answers.</AlertTitle> |
| 8 | <AlertDescription> |
| 9 | <p>Always verify the output before executing.</p> |
| 10 | </AlertDescription> |
| 11 | </Alert> |
| 12 | ) |
| 13 | |
| 14 | export { AiWarning } |