Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.
Python agentaichatgptdeepseekfine-tuninggemmaimage-generationllamallmllmsopenaipythonqwenreinforcement-learningself-hostedstable-diffusiontext-to-speechttsuiunsloth
Studio: match the roundness of Connections settings boxes to the rest of Settings (#11195)
Michael Han93d4627e4146
diff --git a/studio/frontend/src/features/chat/chat-providers-dialog.tsx b/studio/frontend/src/features/chat/chat-providers-dialog.tsxindex 19dd529c952..438c06c0709 100644--- a/studio/frontend/src/features/chat/chat-providers-dialog.tsx+++ b/studio/frontend/src/features/chat/chat-providers-dialog.tsx@@ -1298,7 +1298,7 @@ export function ChatProvidersSettings({type="button"variant="ghost"size="icon-sm"- className="size-8 rounded-[8px]"+ className="size-8"onClick={closeForm}aria-label="Back to connections"title="Back to connections"@@ -1317,7 +1317,7 @@ export function ChatProvidersSettings({</header><div className="flex max-w-[760px] flex-col gap-3">- <section className="overflow-hidden rounded-[8px] border border-border/70 bg-muted/[0.12]">+ <section className="overflow-hidden rounded-lg border border-border/70 bg-muted/[0.12]"><div className="divide-y divide-border/60"><div className="grid grid-cols-[minmax(140px,0.8fr)_minmax(0,1.2fr)] items-center gap-4 px-4 py-3 @max-[520px]:grid-cols-1"><div className="flex min-w-0 flex-col gap-0.5">@@ -1664,7 +1664,7 @@ export function ChatProvidersSettings({/>) : null}- <section className="overflow-hidden rounded-[8px] border border-border/70 bg-muted/[0.12]">+ <section className="overflow-hidden rounded-lg border border-border/70 bg-muted/[0.12]"><AnimatePresence initial={false} mode="wait"><motion.divkey={modelsPanelKey}@@ -1744,7 +1744,7 @@ export function ChatProvidersSettings({Select from suggestions below or enter exact model IDs.</p>{availableModels.length > 0 ? (- <div className="space-y-3 rounded-[8px] border border-border/70 bg-background/50 p-3">+ <div className="space-y-3 rounded-md border border-border/70 bg-background/50 p-3"><div className="grid grid-cols-[minmax(90px,auto)_minmax(0,1fr)_auto] items-center gap-3 @max-[520px]:grid-cols-1"><span className="whitespace-nowrap text-xs font-medium text-muted-foreground">{availableModelsLabel}@@ -1784,7 +1784,7 @@ export function ChatProvidersSettings({</Button></div></div>- <ul className="max-h-56 overflow-y-auto rounded-[8px] border border-border/70 bg-background/50">+ <ul className="max-h-56 overflow-y-auto rounded-md border border-border/70 bg-background/50">{filteredAvailableModels.length === 0 ? (<li className="px-3 py-3 text-xs text-muted-foreground">No matching models@@ -1873,7 +1873,7 @@ export function ChatProvidersSettings({</Button></div></div>- <ul className="max-h-56 overflow-y-auto rounded-[8px] border border-border/70 bg-background/50">+ <ul className="max-h-56 overflow-y-auto rounded-md border border-border/70 bg-background/50">{filteredAvailableModels.length === 0 ? (<li className="px-3 py-3 text-xs text-muted-foreground">No matching models@@ -2005,7 +2005,7 @@ export function ChatProvidersSettings({</div><section className="flex max-w-[760px] flex-col gap-2">- <div className="overflow-hidden rounded-[14px] border border-border/70 bg-muted/[0.12]">+ <div className="overflow-hidden rounded-lg border border-border/70 bg-muted/[0.12]"><buttontype="button"onClick={openAddProvider}@@ -2046,7 +2046,7 @@ export function ChatProvidersSettings({className="group grid min-w-0 grid-cols-[minmax(0,1fr)_auto] items-center gap-3 border-border/60 border-b px-3 py-3 transition-colors last:border-b-0 hover:bg-muted/35 max-sm:grid-cols-1"><div className="flex min-w-0 items-start gap-3">- <div className="mt-1 flex size-8 shrink-0 items-center justify-center rounded-[8px] border border-border/70 bg-background/80">+ <div className="mt-1 flex size-8 shrink-0 items-center justify-center rounded-md border border-border/70 bg-background/80"><ApiProviderLogoproviderType={provider.providerType}className="size-5"@@ -2058,7 +2058,7 @@ export function ChatProvidersSettings({<span className="truncate text-sm font-medium text-foreground">{provider.name}</span>- <span className="shrink-0 rounded-[6px] border border-control-accent/15 bg-control-accent/8 px-1.5 py-0.5 text-ui-10 leading-none text-control-accent">+ <span className="shrink-0 rounded-full border border-control-accent/15 bg-control-accent/8 px-1.5 py-0.5 text-ui-10 leading-none text-control-accent">{provider.models.length}{" "}{provider.models.length === 1 ? "model" : "models"}</span>@@ -2085,7 +2085,7 @@ export function ChatProvidersSettings({type="button"size="icon-sm"variant="ghost"- className="size-7 rounded-[8px] hover:text-foreground"+ className="size-7 hover:text-foreground"disabled={mutatingProvider}onClick={() => editProvider(provider)}title="Edit connection"@@ -2097,7 +2097,7 @@ export function ChatProvidersSettings({type="button"size="icon-sm"variant="ghost"- className="size-7 rounded-[8px] hover:text-foreground"+ className="size-7 hover:text-foreground"disabled={mutatingProvider}onClick={() => void testProvider(provider)}title="Check connection"@@ -2109,7 +2109,7 @@ export function ChatProvidersSettings({type="button"size="icon-sm"variant="ghost"- className="size-7 rounded-[8px] hover:text-destructive"+ className="size-7 hover:text-destructive"disabled={mutatingProvider}onClick={() => void deleteProvider(provider.id)}title="Delete connection"diff --git a/studio/frontend/src/features/chat/openai-codex-connect.tsx b/studio/frontend/src/features/chat/openai-codex-connect.tsxindex c9698460184..4f11de3d404 100644--- a/studio/frontend/src/features/chat/openai-codex-connect.tsx+++ b/studio/frontend/src/features/chat/openai-codex-connect.tsx@@ -168,7 +168,7 @@ export function OpenAICodexConnect({const visibleError = error || (flow?.status === "error" ? flow.message || "Authorization failed." : "");return (- <section className="space-y-3 rounded-[8px] border border-border/70 bg-background/45 p-4">+ <section className="space-y-3 rounded-lg border border-border/70 bg-background/45 p-4"><div><p className="text-sm font-medium">ChatGPT subscription</p><p className="text-xs text-muted-foreground">