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]

fix(lint): drop unused import, suppress PLR0915 on batch_embeddings

Chesars6d6c78e77b27
diff --git a/litellm/llms/vertex_ai/gemini_embeddings/batch_embed_content_handler.py b/litellm/llms/vertex_ai/gemini_embeddings/batch_embed_content_handler.py
index 2a88789c31f..38fdbd8f1b9 100644
--- a/litellm/llms/vertex_ai/gemini_embeddings/batch_embed_content_handler.py
+++ b/litellm/llms/vertex_ai/gemini_embeddings/batch_embed_content_handler.py
@@ -23,7 +23,6 @@ from litellm.types.utils import EmbeddingResponse
from ..gemini.vertex_and_google_ai_studio_gemini import VertexLLM
from .batch_embed_content_transformation import (
_is_file_reference,
- _is_multimodal_input,
process_embed_content_response,
process_response,
transform_openai_input_gemini_content,
@@ -125,7 +124,7 @@ class GoogleBatchEmbeddings(VertexLLM):
return resolved_files
- def batch_embeddings(
+ def batch_embeddings( # noqa: PLR0915
self,
model: str,
input: EmbeddingInput,