From 6f74d3881a4b6f459dd2f9e90c8a2f3a132b0602 Mon Sep 17 00:00:00 2001 From: Chesars Date: Tue, 3 Mar 2026 15:42:45 -0300 Subject: [PATCH] fix(lint): remove unused imports in batch_utils.py time, httpx, uuid, and ModelResponse are no longer used after the vertex_ai batch cost calculation was rewritten upstream. --- litellm/batches/batch_utils.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/litellm/batches/batch_utils.py b/litellm/batches/batch_utils.py index 80351664dfe..a55e30ebeb9 100644 --- a/litellm/batches/batch_utils.py +++ b/litellm/batches/batch_utils.py @@ -1,14 +1,10 @@ import json -import time from typing import Any, List, Literal, Optional, Tuple -import httpx - import litellm from litellm._logging import verbose_logger -from litellm._uuid import uuid from litellm.types.llms.openai import Batch -from litellm.types.utils import CallTypes, ModelInfo, ModelResponse, Usage +from litellm.types.utils import CallTypes, ModelInfo, Usage from litellm.utils import token_counter