Skip to content

The all-in-one local AI studio for your desktop: chat, image and video generation and a coding agent in one free, open source app. Windows and Linux. No Docker, no terminal, no cloud required.

fix: UI polish — Soon badge overlay, icon restore, Qwen 3.6 download

PurpleDoubleD0a82260e7ecd
diff --git a/src/api/discover.ts b/src/api/discover.ts
index 7e9d93b1..6dda81c8 100644
--- a/src/api/discover.ts
+++ b/src/api/discover.ts
@@ -22,6 +22,7 @@ export interface DiscoverModel {
provider?: ProviderId // Which provider this model belongs to
providerName?: string // Display name of the provider
canPull?: boolean // false = no download/pull capability (cloud/external)
+ ollamaModel?: string // Ollama model tag for `ollama pull` (e.g. 'qwen3.6')
}
export interface DownloadProgress {
@@ -425,7 +426,7 @@ export function getMainstreamTextModels(): DiscoverModel[] {
{ name: 'Gemma 4 E4B', description: 'Gemma 4 E4B — lightweight 4.5B, great for small GPUs.', pulls: '100K+', tags: ['4.5B', 'Q4_K_M', '5 GB'], updated: 'Hot', released: '2026-04', downloadUrl: HF('unsloth/gemma-4-E4B-it-GGUF', 'gemma-4-E4B-it-Q4_K_M.gguf'), filename: 'gemma-4-E4B-it-Q4_K_M.gguf', sizeGB: 5 },
{ name: 'Gemma 4 E2B', description: 'Gemma 4 E2B — ultra-light 2.3B, runs on anything.', pulls: '100K+', tags: ['2.3B', 'Q4_K_M', '3 GB'], updated: 'New', released: '2026-04', downloadUrl: HF('unsloth/gemma-4-E2B-it-GGUF', 'gemma-4-E2B-it-Q4_K_M.gguf'), filename: 'gemma-4-E2B-it-Q4_K_M.gguf', sizeGB: 3 },
// ── Qwen 3.6 (April 2026) ──
- { name: 'Qwen 3.6 35B MoE', description: 'Qwen 3.6 — 35B MoE (3B active), vision + agentic coding + thinking preservation. 256K context. Use: ollama pull qwen3.6', pulls: 'New', tags: ['35B MoE', 'Vision', '24 GB'], updated: 'Hot', agent: true, released: '2026-04', url: 'https://ollama.com/library/qwen3.6', canPull: false, sizeGB: 24 },
+ { name: 'Qwen 3.6 35B MoE', description: 'Qwen 3.6 — 35B MoE (3B active), vision + agentic coding + thinking preservation. 256K context.', pulls: 'New', tags: ['35B MoE', 'Vision', '24 GB'], updated: 'Hot', agent: true, released: '2026-04', ollamaModel: 'qwen3.6', sizeGB: 24 },
// ── Qwen 3.5 (March 2026) ──
{ name: 'Qwen 3.5 35B MoE', description: 'Qwen 3.5 35B MoE — best agentic, 256K context. SWE-bench leader.', pulls: '100K+', tags: ['35B', 'Q4_K_M', '21 GB'], updated: 'Hot', agent: true, released: '2026-03', downloadUrl: HF('unsloth/Qwen3.5-35B-A3B-GGUF', 'Qwen3.5-35B-A3B-Q4_K_M.gguf'), filename: 'Qwen3.5-35B-A3B-Q4_K_M.gguf', sizeGB: 21 },
{ name: 'Qwen 3.5 27B', description: 'Qwen 3.5 27B dense — strongest reasoning + coding.', pulls: '100K+', tags: ['27B', 'Q4_K_M', '16 GB'], updated: 'Hot', agent: true, released: '2026-03', downloadUrl: HF('unsloth/Qwen3.5-27B-GGUF', 'Qwen3.5-27B-Q4_K_M.gguf'), filename: 'Qwen3.5-27B-Q4_K_M.gguf', sizeGB: 16 },
diff --git a/src/components/layout/DownloadBadge.tsx b/src/components/layout/DownloadBadge.tsx
index 49b89017..81eb59c8 100644
--- a/src/components/layout/DownloadBadge.tsx
+++ b/src/components/layout/DownloadBadge.tsx
@@ -57,25 +57,24 @@ export function DownloadBadge() {
return (
<div ref={ref} className="relative">
- {/* Text trigger — AE style */}
+ {/* Icon trigger */}
<button
onClick={() => setOpen(!open)}
- className={`relative text-[0.65rem] font-medium tracking-wider uppercase transition-colors ${
- totalActive > 0
- ? 'text-blue-400 hover:text-blue-300'
- : hasAny
- ? 'text-blue-400/70 hover:text-blue-300'
- : 'text-gray-500 dark:text-gray-500 hover:text-gray-900 dark:hover:text-white'
+ className={`relative p-1 rounded-md transition-colors ${
+ hasAny
+ ? 'text-blue-400 hover:bg-blue-500/10'
+ : 'text-gray-500 hover:text-gray-800 dark:hover:text-gray-200 hover:bg-gray-100 dark:hover:bg-white/5'
}`}
+ title="Downloads"
>
- Downloads
- {/* Active dot */}
+ <ArrowDownToLine size={14} />
{totalActive > 0 && (
- <span className="absolute -top-0.5 -right-2 w-1.5 h-1.5 rounded-full bg-blue-400" />
+ <span className="absolute -top-0.5 -right-0.5 min-w-[14px] h-[14px] flex items-center justify-center rounded-full bg-blue-500 text-[0.5rem] font-bold text-white leading-none px-0.5">
+ {totalActive}
+ </span>
)}
- {/* Paused dot */}
{totalActive === 0 && (textEntries.some(([, s]) => s.paused) || comfyEntries.some(([, d]) => d.status === 'paused')) && (
- <span className="absolute -top-0.5 -right-2 w-1.5 h-1.5 rounded-full bg-yellow-500" />
+ <span className="absolute -top-0.5 -right-0.5 w-2.5 h-2.5 rounded-full bg-yellow-500" />
)}
</button>
diff --git a/src/components/layout/Header.tsx b/src/components/layout/Header.tsx
index addade8a..4dfc6b79 100644
--- a/src/components/layout/Header.tsx
+++ b/src/components/layout/Header.tsx
@@ -1,5 +1,5 @@
import { useState, useEffect } from 'react'
-import { Menu, Loader2, Power } from 'lucide-react'
+import { Menu, Loader2, Power, Sun, Moon } from 'lucide-react'
import { useUIStore } from '../../stores/uiStore'
import { useSettingsStore } from '../../stores/settingsStore'
import { useChatStore } from '../../stores/chatStore'
@@ -78,7 +78,7 @@ export function Header() {
useCompareStore.getState().setComparing(false)
setView(view as any)
}}
- className={`text-[0.65rem] font-medium tracking-wider uppercase transition-colors ${
+ className={`text-[0.6rem] font-medium transition-colors ${
currentView === view && !isComparing
? 'text-gray-900 dark:text-white'
: 'text-gray-500 dark:text-gray-500 hover:text-gray-900 dark:hover:text-white'
@@ -171,20 +171,21 @@ export function Header() {
)}
</div>
- {/* Right: AE-style text navigation */}
- <div className="flex items-center gap-3">
+ {/* Right: text nav + icon utilities */}
+ <div className="flex items-center gap-2.5">
<DownloadBadge />
<button
onClick={toggleTheme}
- className="text-[0.65rem] font-medium tracking-wider uppercase text-gray-500 dark:text-gray-500 hover:text-gray-900 dark:hover:text-white transition-colors"
+ className="p-1 rounded-md text-gray-500 hover:text-gray-800 dark:hover:text-gray-200 hover:bg-gray-100 dark:hover:bg-white/5 transition-colors"
+ title={settings.theme === 'dark' ? 'Light Mode' : 'Dark Mode'}
>
- {settings.theme === 'dark' ? 'Light' : 'Dark'}
+ {settings.theme === 'dark' ? <Sun size={14} /> : <Moon size={14} />}
</button>
{textNav('chat', 'Chat')}
{textNav('create', 'Create')}
<button
onClick={() => { useCompareStore.getState().setComparing(true); setView('chat') }}
- className={`text-[0.65rem] font-medium tracking-wider uppercase transition-colors ${
+ className={`text-[0.6rem] font-medium transition-colors ${
isComparing
? 'text-gray-900 dark:text-white'
: 'text-gray-500 dark:text-gray-500 hover:text-gray-900 dark:hover:text-white'
diff --git a/src/components/layout/Sidebar.tsx b/src/components/layout/Sidebar.tsx
index 7938e193..4e4a119f 100644
--- a/src/components/layout/Sidebar.tsx
+++ b/src/components/layout/Sidebar.tsx
@@ -194,8 +194,7 @@ export function Sidebar() {
>
<Icon size={9} />
<span className="relative">
- {label}
- {tag && <span className="absolute -top-2 left-0 right-0 text-[0.35rem] text-red-400/70 font-medium text-center">{tag}</span>}
+ {tag ? <span className="text-[0.4rem] text-red-400/80 font-semibold tracking-wider uppercase">{tag}</span> : label}
</span>
</button>
))}
diff --git a/src/components/models/DiscoverModels.tsx b/src/components/models/DiscoverModels.tsx
index 48ea4142..cb912872 100644
--- a/src/components/models/DiscoverModels.tsx
+++ b/src/components/models/DiscoverModels.tsx
@@ -13,6 +13,7 @@ import {
} from '../../api/discover'
import { getSystemVRAM } from '../../api/comfyui'
import { openExternal } from '../../api/backend'
+import { useModels } from '../../hooks/useModels'
import { useDownloadStore } from '../../stores/downloadStore'
import { useProviderStore } from '../../stores/providerStore'
import { GlassCard } from '../ui/GlassCard'
@@ -38,7 +39,7 @@ function ModelDiscoverCard({ model, index, isText, getModelDownloadState, isMode
const isDownloading = dlState?.status === 'downloading' || dlState?.status === 'connecting'
const isComplete = dlState?.status === 'complete'
const isError = dlState?.status === 'error'
- const canDirectDownload = !!model.downloadUrl && !!model.filename
+ const canDirectDownload = (!!model.downloadUrl && !!model.filename) || !!model.ollamaModel
return (
<motion.div
@@ -143,6 +144,7 @@ export function DiscoverModels({ category }: Props) {
// Provider state for model path detection
const providers = useProviderStore(s => s.providers)
const [hfModelPath, setHfModelPath] = useState<string | null>(null)
+ const { pullModel } = useModels()
// Auto-detect provider model path for GGUF downloads
useEffect(() => {
@@ -383,6 +385,16 @@ export function DiscoverModels({ category }: Props) {
}
const handleTextDownload = async (model: DiscoverModel) => {
+ // Ollama-native models: use ollama pull instead of GGUF download
+ if (model.ollamaModel) {
+ try {
+ await pullModel(model.ollamaModel)
+ } catch (e) {
+ console.error('Ollama pull failed:', e)
+ setInstallError(`Download failed: ${e instanceof Error ? e.message : String(e)}`)
+ }
+ return
+ }
if (!model.downloadUrl || !model.filename) return
const destDir = hfModelPath || (await detectProviderModelPath(providers.openai?.name || 'LM Studio'))
if (!destDir) {