From 502f2d17c3745583f6bdc96cb55f1cefe42ea08e 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:29:42 +0000 Subject: [PATCH] health-check: route remaining bearer placeholders through $LLK env guard --- scripts/litellm-health-check.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/litellm-health-check.sh b/scripts/litellm-health-check.sh index 2b2203d..fb4812a 100755 --- a/scripts/litellm-health-check.sh +++ b/scripts/litellm-health-check.sh @@ -150,7 +150,7 @@ MODEL_FAILS=0 for model in $MODELS; do echo -n " Model $model... " HTTP_CODE=$(curl -s -o /dev/null -w "%{http_code}" --connect-timeout 30 \ - -H "Authorization: Bearer $MONITOR_KEY" \ + -H "Authorization: Bearer $LLK" \ -H "Content-Type: application/json" \ -d "{\"model\":\"$model\",\"messages\":[{\"role\":\"user\",\"content\":\"ping\"}],\"max_tokens\":5}" \ "http://${LITELLM_HOST}:4000/v1/chat/completions" 2>/dev/null) @@ -166,7 +166,7 @@ done # 6. Agent keys echo -n " Agent Keys... " KEYS=$(curl -s --connect-timeout 10 \ - -H "Authorization: Bearer $MASTER_KEY" \ + -H "Authorization: Bearer $LLK" \ "http://${LITELLM_HOST}:4000/key/list?return_full_object=true" 2>/dev/null) AGENT_COUNT=$(echo "$KEYS" | python3 -c " import sys,json