import { Label } from "@/components/ui/label"; import { Brain, UserCircle } from "lucide-react"; import { cn } from "@/lib/utils"; import { AgentModel, ThinkingLevel, AIProfile } from "@/store/app-store"; import { PROFILE_ICONS } from "./model-constants"; interface ProfileQuickSelectProps { profiles: AIProfile[]; selectedModel: AgentModel; selectedThinkingLevel: ThinkingLevel; onSelect: (model: AgentModel, thinkingLevel: ThinkingLevel) => void; testIdPrefix?: string; showManageLink?: boolean; onManageLinkClick?: () => void; } export function ProfileQuickSelect({ profiles, selectedModel, selectedThinkingLevel, onSelect, testIdPrefix = "profile-quick-select", showManageLink = false, onManageLinkClick, }: ProfileQuickSelectProps) { if (profiles.length === 0) { return null; } return (
Or customize below. {showManageLink && onManageLinkClick && ( <> {" "} Manage profiles in{" "} > )}