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(providers): zwei vorbestehende Waechtertests wieder gruen
purple42559f8c009e
diff --git a/src/components/chat/EngineMissingBar.tsx b/src/components/chat/EngineMissingBar.tsxindex 12008869..6e64252e 100644--- a/src/components/chat/EngineMissingBar.tsx+++ b/src/components/chat/EngineMissingBar.tsx@@ -64,7 +64,7 @@ export function EngineMissingBar() {icon={<AlertTriangle size={11} className="shrink-0 mt-0.5" />}onDismiss={() => setDismissed(true)}>- LU Engine is missing from your providers. Add Provider, then LU Engine, in Settings, AI Backends, to use the app's own built-in engine again. We are fixing the cause in the next update.+ LU Engine is missing from your providers. Add Provider, then LU Engine, in Settings, AI Backends. We are fixing the cause in the next update.</Hinweis></div>)diff --git a/src/components/settings/ProviderConfig.tsx b/src/components/settings/ProviderConfig.tsxindex e01f4eec..7160defb 100644--- a/src/components/settings/ProviderConfig.tsx+++ b/src/components/settings/ProviderConfig.tsx@@ -515,7 +515,7 @@ export function ProviderSettings() {><AlertTriangle size={11} className="shrink-0 mt-0.5" /><span className="flex-1 min-w-0">- LU Engine is missing from your providers. Restore it below to use the app's own built-in engine again. We are fixing the cause in the next update.+ LU Engine is missing from your providers. Restore it below. We are fixing the cause in the next update.</span><buttononClick={() => selectPreset(PROVIDER_PRESETS.find(p => p.id === 'builtin')!)}diff --git a/src/stores/providerStore.ts b/src/stores/providerStore.tsindex 412fc1b5..d59e4103 100644--- a/src/stores/providerStore.ts+++ b/src/stores/providerStore.ts@@ -226,19 +226,23 @@ export const useProviderStore = create<ProviderState>()(}))clearProviderCache() // invalidate cached clientsdropPicksForDarkenedSlots({ [id]: before }, { [id]: get().providers[id] })- // Every route that moves the shared local slot comes through here (Add- // Provider, Enable on the standby card, Remove, Disable, onboarding), so- // the memory question is asked here, once. R12/R13 measured the answer- // it used to get: Jan takes the slot, lu-llama-server keeps PID and- // model in RAM until the app is restarted. See lib/builtin-slot-eviction.- if (id === 'openai') onLocalSlotChanged(before, get().providers.openai)// LU Engine is back on the slot on purpose (Built-in chosen again,// Restore, a full Reset): whatever opt-out was recorded no longer// describes the customer's current choice, so a LATER real eviction- // is not silently swallowed by a stale flag.+ // is not silently swallowed by a stale flag. Ordered before the+ // onLocalSlotChanged call below on purpose (the two do not depend on+ // each other), so that call stays the LAST statement this function+ // makes, the shape displaced-engine-frees-its-memory.test.ts pins for+ // every write path that touches the shared slot.if (id === 'openai' && updates.managed === true && get().engineOptedOut) {set({ engineOptedOut: false })}+ // Every route that moves the shared local slot comes through here (Add+ // Provider, Enable on the standby card, Remove, Disable, onboarding), so+ // the memory question is asked here, once. R12/R13 measured the answer+ // it used to get: Jan takes the slot, lu-llama-server keeps PID and+ // model in RAM until the app is restarted. See lib/builtin-slot-eviction.+ if (id === 'openai') onLocalSlotChanged(before, get().providers.openai)},setProviderApiKey: (id, key) => {