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
fix: notify checkpoint views after promotion and preview writes (#8533)
[._.]/ Adam Eivy63920fd50912
diff --git a/server/services/loraTraining/index.js b/server/services/loraTraining/index.jsindex e53b16d759..2140c1313a 100644--- a/server/services/loraTraining/index.js+++ b/server/services/loraTraining/index.js@@ -1121,6 +1121,7 @@ export async function promoteCheckpoint(runId, step) {autoSelectedCheckpoint: false,},}));+ trainingEvents.emit('checkpoints:changed', { runId });await flipDatasetAfterRun(run, { trained: true, loraFilename: filename });console.log(`📌 training [${shortId(runId)}] promoted checkpoint step ${step} → ${filename}`);// If the promoted checkpoint had no preview (its step didn't land on the@@ -1203,6 +1204,7 @@ async function ensureCheckpointPreview(run, step, loraFilename) {return { ...current, artifacts: { ...current.artifacts, samples: [...samples, name] } };});trainingEvents.emit('checkpoint-preview', { generationId: run.jobId || runId, runId, step });+ trainingEvents.emit('checkpoints:changed', { runId });console.log(`🖼️ training [${shortId(runId)}] preview attached for step ${step}`);}