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): reference _forwardable_alias_marker_params directly for the router coverage gate
mateo-berri3e41941e3530
diff --git a/tests/test_litellm/router_strategy/test_complexity_router.py b/tests/test_litellm/router_strategy/test_complexity_router.pyindex a284e51091a..efc9ecc74a5 100644--- a/tests/test_litellm/router_strategy/test_complexity_router.py+++ b/tests/test_litellm/router_strategy/test_complexity_router.py@@ -2304,6 +2304,15 @@ class TestRouterPreRoutingSharedAliasName:assert cn_result is not None and cn_result.model == "gpt-cn"assert "drop_params" not in cn_kwargs+ def test_forwardable_alias_marker_params_reads_the_marker_entry_only(self):+ router = Router(model_list=[self._plain_entry(), self._marker_entry(), self._tier_entry()])++ forwarded = dict(router._forwardable_alias_marker_params(model="gpt4o", strategy_tags=()))++ assert forwarded["drop_params"] is True+ assert "api_key" not in forwarded and "api_base" not in forwarded+ assert router._forwardable_alias_marker_params(model="gemini-flash", strategy_tags=()) == ()+class TestAdaptiveSoftFloors:def test_adaptive_defaults_use_cost_weighted_cold_policy(self):