import { Popover, PopoverContent, PopoverTrigger } from '@/components/ui/popover'; import { Label } from '@/components/ui/label'; import { Switch } from '@/components/ui/switch'; import { Slider } from '@/components/ui/slider'; import { FastForward, Bot, Settings2 } from 'lucide-react'; interface AutoModeSettingsPopoverProps { skipVerificationInAutoMode: boolean; onSkipVerificationChange: (value: boolean) => void; maxConcurrency: number; runningAgentsCount: number; onConcurrencyChange: (value: number) => void; } export function AutoModeSettingsPopover({ skipVerificationInAutoMode, onSkipVerificationChange, maxConcurrency, runningAgentsCount, onConcurrencyChange, }: AutoModeSettingsPopoverProps) { return (

Auto Mode Settings

Configure auto mode execution and agent concurrency.

{/* Max Concurrent Agents */}
{runningAgentsCount}/{maxConcurrency}
onConcurrencyChange(value[0])} min={1} max={10} step={1} className="flex-1" data-testid="concurrency-slider" /> {maxConcurrency}

Higher values process more features in parallel but use more API resources.

{/* Skip Verification Setting */}

When enabled, auto mode will grab features even if their dependencies are not verified, as long as they are not currently running.

); }