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
Add allm_passthrough_route in _get_pre_call_type
Sameer Kankute155532085b01
diff --git a/litellm/proxy/common_request_processing.py b/litellm/proxy/common_request_processing.pyindex 8637bc88c57..f798d218f1d 100644--- a/litellm/proxy/common_request_processing.py+++ b/litellm/proxy/common_request_processing.py@@ -885,14 +885,16 @@ class ProxyBaseLLMRequestProcessing:@staticmethoddef _get_pre_call_type(- route_type: Literal["acompletion", "aembedding", "aresponses"],- ) -> Literal["completion", "embeddings", "responses"]:+ route_type: Literal["acompletion", "aembedding", "aresponses", "allm_passthrough_route"],+ ) -> Literal["completion", "embeddings", "responses", "allm_passthrough_route"]:if route_type == "acompletion":return "completion"elif route_type == "aembedding":return "embeddings"elif route_type == "aresponses":return "responses"+ elif route_type == "allm_passthrough_route":+ return "allm_passthrough_route"########################################################## Proxy Level Streaming Data Generator