Fixed both issues

This commit is contained in:
larssand
2026-07-02 20:37:39 +02:00
parent 5e14104f0a
commit 0a9a3d3dd2
3 changed files with 16 additions and 3 deletions

View File

@@ -578,5 +578,7 @@ def monitor_loop(
}
else:
status["llm_assessment"] = {"enabled": False, "status": "disabled", "text": ""}
if status_cache_path and isinstance(mcp, dict) and mcp.get("status") not in {"error", "refreshing"}:
StatusSnapshotStore(status_cache_path).save("last_good", status)
write_status(status, output)
time.sleep(interval)