The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
feat(ai): add provider-specific color swatches for AI provider list
Steven Enamakel21f9e9401aaa
diff --git a/app/src/components/settings/panels/ai/ProviderListRow.tsx b/app/src/components/settings/panels/ai/ProviderListRow.tsxindex 3c44b57031..21af46b260 100644--- a/app/src/components/settings/panels/ai/ProviderListRow.tsx+++ b/app/src/components/settings/panels/ai/ProviderListRow.tsx@@ -72,6 +72,20 @@ export interface ProviderRowAction {destructive?: boolean;}+const PROVIDER_SWATCH_TONES: Record<string, string> = {+ openai: 'bg-black text-white ring-black',+ anthropic: 'bg-[#D97757]/15 text-[#D97757] ring-[#D97757]/40',+ 'claude-code': 'bg-[#D97757]/15 text-[#D97757] ring-[#D97757]/40',+ google: 'bg-[#4285F4]/10 text-[#4285F4] ring-[#4285F4]/35',+ mistral: 'bg-[#FF7000]/10 text-[#FF7000] ring-[#FF7000]/35',+ huggingface: 'bg-[#FFD21E]/15 text-[#B88600] ring-[#FFD21E]/45',+ nvidia: 'bg-[#76B900]/10 text-[#5A8F00] ring-[#76B900]/40',+ 'vercel-ai-gateway': 'bg-black text-white ring-black',+ xai: 'bg-black text-white ring-black',+ zai: 'bg-[#FF6A00]/10 text-[#FF6A00] ring-[#FF6A00]/35',+ ollama: 'bg-black text-white ring-black',+};+/*** The provider's brand mark on its tone swatch, falling back to the initial.*@@ -97,7 +111,7 @@ export const ProviderSwatch = ({data-slot="provider-swatch"className={cn('flex h-8 w-8 flex-shrink-0 items-center justify-center rounded-lg text-xs font-semibold ring-1',- tone+ PROVIDER_SWATCH_TONES[slug] ?? tone)}>{icon ?? (label.trim().charAt(0).toUpperCase() || '?')}</span>