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.
TypeScript agentai-chatai-studioall-in-onecoding-agentdesktop-appfluximage-generationlinuxllmlocal-ailocal-llmopen-sourceprivacyself-hostedstable-diffusionuncensoreduncensored-aivideo-generationwindows
fix: always-on persona toggle, Discover layout tweaks, actionable sharded-GGUF error
purplebd7fc48f71f2
diff --git a/src/components/chat/PluginsDropdown.tsx b/src/components/chat/PluginsDropdown.tsxindex bce7e896..7f51064a 100644--- a/src/components/chat/PluginsDropdown.tsx+++ b/src/components/chat/PluginsDropdown.tsx@@ -126,8 +126,11 @@ export function PluginsDropdown() {<ChevronDown size={9} className={`text-gray-500 transition-transform ${personaOpen ? 'rotate-180' : ''}`} /></button>{/* On/off toggle for THIS chat — Remote already had this- via `personaEnabled`; now Chat / Code / Agent match. */}- {activeConvId && activePersona && activePersona.id !== 'unrestricted' && (+ via `personaEnabled`; now Chat / Code / Agent match.+ Always shown when a chat is open (David: "personas hat im+ chat noch kein an/aus toggle" — it was hidden for the+ default Unrestricted persona). */}+ {activeConvId && (<buttononClick={(e) => {e.stopPropagation()diff --git a/src/components/models/DiscoverModels.tsx b/src/components/models/DiscoverModels.tsxindex ee986d1f..aa5383e4 100644--- a/src/components/models/DiscoverModels.tsx+++ b/src/components/models/DiscoverModels.tsx@@ -499,6 +499,18 @@ export function DiscoverModels({ category }: Props) {detectProviderModelPath(providerName).then(path => { setHfModelPath(path); setLoading(false) })}+ // Turn a raw Ollama pull error into actionable guidance. Sharded/split GGUF+ // repos (model split into multiple .gguf parts) make `ollama pull` 400 —+ // Ollama can't pull split GGUF yet (ollama/ollama#5245). Don't show the user+ // a cryptic HTTP 400; tell them what to do.+ const formatPullError = (modelName: string, err: unknown): string => {+ const msg = err instanceof Error ? err.message : String(err)+ if (/shard|5245|split/i.test(msg)) {+ return `${modelName} is split into multiple GGUF parts — split GGUF isn't supported yet (Ollama rejects it, ollama/ollama#5245). Pick a single-file quant of this model instead.`+ }+ return `Download failed: ${msg}`+ }+const handleTextDownload = async (model: DiscoverModel) => {// Bug Y/a v2.5.0 — Aldrich Ironhart Discord. Pre-v2.5.0 we picked the// download backend by "whichever is enabled" with LM Studio winning when@@ -530,7 +542,7 @@ export function DiscoverModels({ category }: Props) {await pullModel(model.ollamaModel)} catch (e) {log.error('Ollama pull failed', { err: e })- setInstallError(`Download failed: ${e instanceof Error ? e.message : String(e)}`)+ setInstallError(formatPullError(model.name, e))}return}@@ -556,7 +568,7 @@ export function DiscoverModels({ category }: Props) {await pullModel(ref)} catch (e) {log.error('Ollama HF pull failed', { err: e })- setInstallError(`Ollama pull failed: ${e instanceof Error ? e.message : String(e)}. Is Ollama running?`)+ setInstallError(formatPullError(model.name, e))}return}@@ -594,7 +606,7 @@ export function DiscoverModels({ category }: Props) {<p className="text-sm text-gray-500">{subtitle}</p>- <div className="relative">+ <div className="relative w-1/2"><Search size={16} className="absolute left-3 top-1/2 -translate-y-1/2 text-gray-500" /><inputvalue={search}@@ -782,7 +794,7 @@ export function DiscoverModels({ category }: Props) {{(isImage || isVideo) && (<GlassCard className="p-4 space-y-3"><h3 className="text-sm font-semibold text-gray-900 dark:text-white">Search CivitAI</h3>- <div className="flex gap-2">+ <div className="flex gap-2 w-1/2"><inputvalue={civitaiQuery}onChange={(e) => setCivitaiQuery(e.target.value)}diff --git a/src/components/models/ModelManager.tsx b/src/components/models/ModelManager.tsxindex 1fd1c759..1ed59957 100644--- a/src/components/models/ModelManager.tsx+++ b/src/components/models/ModelManager.tsx@@ -55,7 +55,7 @@ export function ModelManager() {return (<div className="h-full overflow-y-auto scrollbar-thin p-4">- <div className="max-w-4xl mx-auto">+ <div className="max-w-3xl mx-auto"><div className="flex items-center justify-between mb-4"><div className="flex items-center gap-2"><button