"use client"; import { useState } from "react"; import { IconInfoCircle, IconRobot } from "@tabler/icons-react"; import { Button } from "@kandev/ui/button"; import { Switch } from "@kandev/ui/switch"; import { Tooltip, TooltipContent, TooltipTrigger } from "@kandev/ui/tooltip"; import { useTranslation } from "react-i18next"; import { cn } from "@/lib/utils"; export function TaskAutopilotToggle({ checked, onCheckedChange, disabled, }: { checked: boolean; onCheckedChange: (checked: boolean) => void; disabled: boolean; }) { const { t } = useTranslation(); const [helpOpen, setHelpOpen] = useState(false); return (
); }