Files
mlx-knife/scripts/patches/server_models.patch
T
Nikesh Parajuli 6ea9bd33f5 patches
2026-02-24 22:19:59 -05:00

16 lines
668 B
Diff

diff --git a/mlxk2/core/server_base.py b/mlxk2/core/server_base.py
index be7db39..2835552 100644
--- a/mlxk2/core/server_base.py
+++ b/mlxk2/core/server_base.py
@@ -790,9 +790,7 @@ async def list_models():
# Use shared build_model_object (single source of truth)
model_obj = build_model_object(model_name, model_dir, selected_path)
- # Filter: healthy AND runtime_compatible
- if model_obj.get("health") != "healthy":
- continue
+ # Filter: runtime_compatible only (include unhealthy models for visibility)
if not model_obj.get("runtime_compatible"):
continue