From 207148f3b6c3c87bb77c569db72606a3e1fb6a60 Mon Sep 17 00:00:00 2001 From: Yuneng Jiang Date: Tue, 20 Oct 2026 02:42:05 -0700 Subject: [PATCH] style(openai): drop the unused Any import from the responses count handler The #47389 adaptation moved the handler's return type to dict[str, object] and kept the Any import, so ruff check reports F401 on this file at 1.106.1 and not at 1.106.0 --- litellm/llms/openai/responses/count_tokens/handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/llms/openai/responses/count_tokens/handler.py b/litellm/llms/openai/responses/count_tokens/handler.py index 6b34f04a36a..6f911e9c40f 100644 --- a/litellm/llms/openai/responses/count_tokens/handler.py +++ b/litellm/llms/openai/responses/count_tokens/handler.py @@ -6,7 +6,7 @@ Uses httpx for HTTP requests to OpenAI's /v1/responses/input_tokens endpoint. import json from collections.abc import Mapping, Sequence -from typing import Any, Final +from typing import Final import httpx