From 4f3a28ff10a9def0fb5e8a069495974ccc7368cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mumuni=20=F0=9F=A6=85=20=28Syslog=20Falcon=29?= Date: Sun, 20 Sep 2026 15:27:52 +0000 Subject: [PATCH] security+alignment pass from PR review: env-var keys (strip dead literals), Rule-7 unmapped-GPU warning, README slots vs live roster args --- scripts/gpu-self-heal.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/gpu-self-heal.py b/scripts/gpu-self-heal.py index 3229ca7..9598463 100755 --- a/scripts/gpu-self-heal.py +++ b/scripts/gpu-self-heal.py @@ -141,6 +141,7 @@ def evaluate_rules(data, history): host_key = k break if not host_key: + print(f\"[warn] no GPU_HOSTS mapping for '{name}' — remote rules (incl. Rule 7) skipped for this GPU\") host_key = name.replace(" ", "-").lower() temp = gpu.get("temp_c", 0) @@ -384,7 +385,7 @@ def run_inference_test(model="syslog-auto"): req = Request("http://192.168.68.116:4000/v1/chat/completions", data=body, headers={ "Content-Type": "application/json", - "Authorization": "Bearer sk-litellm-7f96080dd99b15c36bd4b333b58a6796" + "Authorization": "Bearer " + os.environ.get("LITELLM_API_KEY", "") }) with urlopen(req, timeout=30) as resp: return resp.status == 200