From cb542159669051579122afcf856598b954b84706 Mon Sep 17 00:00:00 2001 From: Cesar Garcia <128240629+Chesars@users.noreply.github.com> Date: Wed, 4 Mar 2026 19:05:22 -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 | 1 - 1 file changed, 1 deletion(-) diff --git a/litellm/proxy/response_api_endpoints/endpoints.py b/litellm/proxy/response_api_endpoints/endpoints.py index 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):