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]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
Update litellm/proxy/response_api_endpoints/endpoints.py
Cesar Garciacb5421596690
diff --git a/litellm/proxy/response_api_endpoints/endpoints.py b/litellm/proxy/response_api_endpoints/endpoints.pyindex f7d2153c5dd..35d8265a9f7 100644--- a/litellm/proxy/response_api_endpoints/endpoints.py+++ b/litellm/proxy/response_api_endpoints/endpoints.py@@ -469,7 +469,6 @@ async def count_response_input_tokens(if isinstance(input_data, str):messages.append({"role": "user", "content": input_data})- elif isinstance(input_data, list):elif isinstance(input_data, list):for item in input_data:if isinstance(item, dict):