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
address review (codex): surface per-image reason on all-failed caption runs
[._.]/ Adam Eivy4729e556c986
diff --git a/client/src/pages/LoraDatasetDetail.jsx b/client/src/pages/LoraDatasetDetail.jsxindex 25ee6bdef8..137d2bfd10 100644--- a/client/src/pages/LoraDatasetDetail.jsx+++ b/client/src/pages/LoraDatasetDetail.jsx@@ -194,9 +194,13 @@ export default function LoraDatasetDetail() {const lastImageError = [...(captionSse.frames || [])].reverse().find((f) => f?.type === 'progress' && f.error)?.error;if (last?.type === 'error') {- // Whole run failed up front (e.g. every image refused) — show the- // actionable server message verbatim.- toast.error(last.message || 'Captioning failed');+ // Every image failed — the server's terminal `error` frame carries only a+ // generic "check the vision provider" tally, but the per-image `progress`+ // frames already reported the specific reason (refusal vs. a reasoning+ // model that exhausted its token budget). Prefer that detail; it's the+ // whole point for the common single-image failure, which lands here (not+ // in the `complete` branch) because done===0.+ toast.error(lastImageError || last.message || 'Captioning failed');} else if (last?.type === 'complete' && last.failed > 0) {const noun = last.failed === 1 ? 'image' : 'images';const detail = lastImageError ? ` ${lastImageError}` : '';