From 3cc8305ec634543c67f05678002f15ab345d7b2e Mon Sep 17 00:00:00 2001 From: ishaan-jaff Date: Wed, 29 Nov 2023 16:23:37 -0800 Subject: [PATCH] (fix) proxy: /health --- litellm/proxy/proxy_server.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/litellm/proxy/proxy_server.py b/litellm/proxy/proxy_server.py index 6da78c2763a..cc3b72c8e1e 100644 --- a/litellm/proxy/proxy_server.py +++ b/litellm/proxy/proxy_server.py @@ -923,8 +923,6 @@ async def health_endpoint(request: Request, model: Optional[str] = fastapi.Query litellm_params["model"] = original_model_string[:index_of_model_id] else: litellm_params["model"] = original_model_string - litellm_params.pop("tpm", None) - litellm_params.pop("rpm", None) litellm.completion(**litellm_params) cleaned_params = {} for key in litellm_params: