mirror of
https://github.com/cloudstack-llc/mlx-knife.git
synced 2026-07-21 18:15:37 -04:00
16 lines
668 B
Diff
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
|
|
|