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
fix(voyage): drop banned typing.Any from contextual transform to satisfy strict lint gate
fzowla1be4236322d
diff --git a/litellm/llms/voyage/embedding/transformation_contextual.py b/litellm/llms/voyage/embedding/transformation_contextual.pyindex d473450a969..0c02f00fbd5 100644--- a/litellm/llms/voyage/embedding/transformation_contextual.py+++ b/litellm/llms/voyage/embedding/transformation_contextual.py@@ -3,7 +3,7 @@ This module is used to transform the request and response for the Voyage contextThis would be used for all the contextualized embeddings models in Voyage."""-from typing import Any, Final+from typing import Finalimport httpx@@ -167,7 +167,7 @@ class VoyageContextualEmbeddingConfig(BaseEmbeddingConfig):``enable_auto_chunking=True`` requires ``input_type="document"``, so setit unless the caller already provided an ``input_type``."""- params: dict[str, Any] = { # mutable-ok: building return value+ params: dict[str, object] = { # mutable-ok: building return value"enable_auto_chunking": True,"chunk_size": cls.AUTO_CHUNK_SIZE,}