From bbec0f76578fdf64723b3f7f69b7075278c678ca Mon Sep 17 00:00:00 2001 From: Cesar Garcia <128240629+Chesars@users.noreply.github.com> Date: Wed, 4 Mar 2026 20:57:05 -0300 Subject: [PATCH] Update litellm/proxy/response_api_endpoints/endpoints.py Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> --- litellm/proxy/response_api_endpoints/endpoints.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/proxy/response_api_endpoints/endpoints.py b/litellm/proxy/response_api_endpoints/endpoints.py index d84b1a27793..aa5298c2cc1 100644 --- a/litellm/proxy/response_api_endpoints/endpoints.py +++ b/litellm/proxy/response_api_endpoints/endpoints.py @@ -456,7 +456,7 @@ async def count_response_input_tokens( status_code=400, detail={"error": "model parameter is required"} ) - if not input_data: + if input_data is None: raise HTTPException( status_code=400, detail={"error": "input parameter is required"} )