Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

Update litellm/proxy/response_api_endpoints/endpoints.py

Cesar Garcia59c64cb6334b
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"}
)