Skip to content

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.

studio: show 'downloaded' badge instead of 'recommended' when variant is cached

Daniel Han7b6507331138
diff --git a/studio/frontend/src/components/assistant-ui/model-selector/pickers.tsx b/studio/frontend/src/components/assistant-ui/model-selector/pickers.tsx
index 10b8aed8e73..a37532b8e28 100644
--- a/studio/frontend/src/components/assistant-ui/model-selector/pickers.tsx
+++ b/studio/frontend/src/components/assistant-ui/model-selector/pickers.tsx
@@ -301,16 +301,15 @@ function GgufVariantExpander({
>
<span className="min-w-0 flex-1 truncate font-mono text-xs">
{v.quant}
- {v.quant === effectiveRecommended && (
- <span className="ml-1.5 text-[9px] font-sans font-medium text-primary/70">
- recommended
- </span>
- )}
- {v.downloaded && (
+ {v.downloaded ? (
<span className="ml-1.5 text-[9px] font-sans font-medium text-green-400">
downloaded
</span>
- )}
+ ) : v.quant === effectiveRecommended ? (
+ <span className="ml-1.5 text-[9px] font-sans font-medium text-primary/70">
+ recommended
+ </span>
+ ) : null}
</span>
<span className="flex items-center gap-1.5 shrink-0">
{oom && (