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(passthrough): annotate route match scope as Final
mateo-berribd719c21dc96
diff --git a/tests/test_litellm/proxy/pass_through_endpoints/test_llm_pass_through_endpoints.py b/tests/test_litellm/proxy/pass_through_endpoints/test_llm_pass_through_endpoints.pyindex 27d6e4c8585..f631215c03d 100644--- a/tests/test_litellm/proxy/pass_through_endpoints/test_llm_pass_through_endpoints.py+++ b/tests/test_litellm/proxy/pass_through_endpoints/test_llm_pass_through_endpoints.py@@ -2,6 +2,7 @@ import jsonimport osimport sysimport traceback+from typing import Finalfrom unittest import mockfrom unittest.mock import AsyncMock, MagicMock, Mock, patch@@ -2819,7 +2820,7 @@ def _resolve_route_name(method: str, path: str) -> str | None:from litellm.proxy.proxy_server import app- scope = {+ scope: Final = {"type": "http","method": method,"path": path,