From 7c1e1790e3bd1ad8f612ca7a388ba79fdc01f5df Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Tue, 3 Jun 2025 15:16:12 -0700 Subject: [PATCH] fix: health liveliness check auth (#11378) --- litellm/proxy/health_endpoints/_health_endpoints.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/litellm/proxy/health_endpoints/_health_endpoints.py b/litellm/proxy/health_endpoints/_health_endpoints.py index a283cf7866f..5996f4055fc 100644 --- a/litellm/proxy/health_endpoints/_health_endpoints.py +++ b/litellm/proxy/health_endpoints/_health_endpoints.py @@ -567,12 +567,10 @@ async def health_readiness(): @router.get( "/health/liveliness", # Historical LiteLLM name; doesn't match k8s terminology but kept for backwards compatibility tags=["health"], - dependencies=[Depends(user_api_key_auth)], ) @router.get( "/health/liveness", # Kubernetes has "liveness" probes (https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#define-a-liveness-command) tags=["health"], - dependencies=[Depends(user_api_key_auth)], ) async def health_liveliness(): """ @@ -601,12 +599,10 @@ async def health_readiness_options(): @router.options( "/health/liveliness", tags=["health"], - dependencies=[Depends(user_api_key_auth)], ) @router.options( "/health/liveness", # Kubernetes has "liveness" probes (https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#define-a-liveness-command) tags=["health"], - dependencies=[Depends(user_api_key_auth)], ) async def health_liveliness_options(): """