Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
Silence the duplicate toast on a failed weights download
Adam Eivy91c9d29aed78
diff --git a/client/src/components/settings/LocalLlmTab.jsx b/client/src/components/settings/LocalLlmTab.jsxindex c2d355af51..3cdbf4e8b8 100644--- a/client/src/components/settings/LocalLlmTab.jsx+++ b/client/src/components/settings/LocalLlmTab.jsx@@ -794,7 +794,9 @@ export function LocalLlmTab() {const key = downloadKey(presetId, role);setLlamaDownloads((prev) => ({ ...prev, [key]: { received: 0, total: 0 } }));try {- const res = await downloadSpecDecodeModel(presetId, role);+ // Custom catch below owns the failure toast — `silent` keeps apiCore from+ // firing a second one for the same error.+ const res = await downloadSpecDecodeModel(presetId, role, { silent: true });toast.success(res?.alreadyDownloaded? `${res.path} is already on disk`: `${res?.path || 'Model'} downloaded`);diff --git a/client/src/components/settings/LocalLlmTab.test.jsx b/client/src/components/settings/LocalLlmTab.test.jsxindex 83cb9f9da5..291065b3ac 100644--- a/client/src/components/settings/LocalLlmTab.test.jsx+++ b/client/src/components/settings/LocalLlmTab.test.jsx@@ -490,7 +490,7 @@ describe('LocalLlmTab llama-server management', () => {fireEvent.click(downloadBtn);await waitFor(() => {- expect(downloadSpecDecodeModel).toHaveBeenCalledWith('qwen3.8-27b-dspark', 'model');+ expect(downloadSpecDecodeModel).toHaveBeenCalledWith('qwen3.8-27b-dspark', 'model', { silent: true });});});