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: fix linting
Krrish Dholakia05125a969149
diff --git a/litellm/llms/huggingface/rerank/transformation.py b/litellm/llms/huggingface/rerank/transformation.pyindex 34e343e8f6c..3f5c44fec05 100644--- a/litellm/llms/huggingface/rerank/transformation.py+++ b/litellm/llms/huggingface/rerank/transformation.py@@ -109,7 +109,7 @@ class HuggingFaceRerankConfig(BaseRerankConfig):elif k == "query" and v is not None:optional_rerank_params["query"] = v- return OptionalRerankParams(**optional_rerank_params)+ return OptionalRerankParams(**optional_rerank_params) # type: ignoredef validate_environment(self,