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
test(router): price the unpriced Jev cost test off a model the registry never ships
mateo-berri853fd04bd5ce
diff --git a/tests/test_litellm/router_strategy/complexity_router/test_jev_classifier.py b/tests/test_litellm/router_strategy/complexity_router/test_jev_classifier.pyindex 78eaf26cb4d..f27729d29e8 100644--- a/tests/test_litellm/router_strategy/complexity_router/test_jev_classifier.py+++ b/tests/test_litellm/router_strategy/complexity_router/test_jev_classifier.py@@ -120,11 +120,12 @@ def test_jev_classifier_cost_uses_registry_pricing(monkeypatch: pytest.MonkeyPatdef test_jev_classifier_cost_is_none_without_registry_pricing() -> None:+ assert "typesafe/jev-unpriced" not in litellm.model_costresponse: Final = JevSystemOneResponse(answers={"tier": _answer()},usage=JevUsage(input_tokens=3, output_tokens=4),)- assert jev_classifier_cost(response, "jev-latest") is None+ assert jev_classifier_cost(response, "jev-unpriced") is None@pytest.mark.asyncio