diff --git a/scripts/api.py b/scripts/api.py index baa223f..2c29c9e 100644 --- a/scripts/api.py +++ b/scripts/api.py @@ -659,9 +659,11 @@ async def dreamer_status(auth: str = Depends(require_auth)): state = {} 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" + raw_mode = state.get("last_dream_mode", "none") + display_mode = "full pipeline" if raw_mode == "pipeline" else raw_mode return JSONResponse({ "last_dream": last_dt, - "last_mode": state.get("last_dream_mode", "none"), + "last_mode": display_mode, "last_file": state.get("last_dream_file", ""), }) except Exception as e: