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]

test_rerank_custom_callbacks

Ishaan Jaffer978c52291f1d
diff --git a/tests/llm_translation/test_rerank.py b/tests/llm_translation/test_rerank.py
index 4838948fcd8..edd5981c165 100644
--- a/tests/llm_translation/test_rerank.py
+++ b/tests/llm_translation/test_rerank.py
@@ -274,6 +274,7 @@ class TestLogger(CustomLogger):
@pytest.mark.asyncio()
[email protected](retries=3, delay=1)
async def test_rerank_custom_callbacks():
os.environ["LITELLM_LOCAL_MODEL_COST_MAP"] = "True"
litellm.model_cost = litellm.get_model_cost_map(url="")