import { NavLink } from 'react-router-dom' // Segmented Chat | Embeddings switcher shared by the two Models pages. // Industry-standard layout: one "Models" section, modality as a tab — chat // routing (cross-model fallback) and embeddings routing (same-model, // cross-provider fallback) are different machines behind one roof. export function ModelsTabs() { const tab = (isActive: boolean) => `px-3 py-1.5 text-xs rounded-lg transition-colors ${ isActive ? 'bg-foreground text-background font-medium' : 'text-muted-foreground hover:text-foreground hover:bg-muted' }` return (