From 59c64cb6334b4f0d936c1163689eb4998cb00f31 Mon Sep 17 00:00:00 2001 From: Cesar Garcia <128240629+Chesars@users.noreply.github.com> Date: Wed, 4 Mar 2026 19:46:34 -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 441b0f1b317..d84b1a27793 100644 --- a/litellm/proxy/response_api_endpoints/endpoints.py +++ b/litellm/proxy/response_api_endpoints/endpoints.py @@ -533,7 +533,7 @@ async def count_response_input_tokens( ) ) raise HTTPException( - status_code=500, detail={"error": f"Internal server error: {str(e)}"} + status_code=500, detail={"error": "Internal server error"} )