Fix dreamer status display, watcher excludes Media/, remove NVM debt item

This commit is contained in:
2026-04-27 05:08:01 +00:00
parent d3239aba17
commit a1f5c1049a
+3 -1
View File
@@ -659,9 +659,11 @@ async def dreamer_status(auth: str = Depends(require_auth)):
state = {} state = {}
last_ts = state.get("last_dream_timestamp", 0) last_ts = state.get("last_dream_timestamp", 0)
last_dt = datetime.fromtimestamp(last_ts).strftime("%Y-%m-%d %H:%M") if last_ts else "never" last_dt = datetime.fromtimestamp(last_ts).strftime("%Y-%m-%d %H:%M") if last_ts else "never"
raw_mode = state.get("last_dream_mode", "none")
display_mode = "full pipeline" if raw_mode == "pipeline" else raw_mode
return JSONResponse({ return JSONResponse({
"last_dream": last_dt, "last_dream": last_dt,
"last_mode": state.get("last_dream_mode", "none"), "last_mode": display_mode,
"last_file": state.get("last_dream_file", ""), "last_file": state.get("last_dream_file", ""),
}) })
except Exception as e: except Exception as e: