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 review

Sameer Kankute2c4979e5e8da
diff --git a/litellm/rerank_api/main.py b/litellm/rerank_api/main.py
index 0dd18b6a5bf..e27585116ce 100644
--- a/litellm/rerank_api/main.py
+++ b/litellm/rerank_api/main.py
@@ -177,7 +177,7 @@ def rerank( # noqa: PLR0915
model=model,
user=user,
optional_params=dict(optional_rerank_params),
- litellm_params=rerank_litellm_params,
+ litellm_params=dict(rerank_litellm_params),
custom_llm_provider=_custom_llm_provider,
)