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(proxy): give the pipeline-managed native hook audit test its chat completions route
mateo-berri354365eecaf6
diff --git a/tests/test_litellm/proxy/test_proxy_logging_hook_detection.py b/tests/test_litellm/proxy/test_proxy_logging_hook_detection.pyindex 42888ca7d54..28ff4571b44 100644--- a/tests/test_litellm/proxy/test_proxy_logging_hook_detection.py+++ b/tests/test_litellm/proxy/test_proxy_logging_hook_detection.py@@ -688,7 +688,7 @@ async def test_deferred_stream_guardrails_skip_pipeline_managed_native_hook(monk"messages": [{"role": "user", "content": "hi"}],"metadata": {"_guardrail_pipelines": [("response-governance", pipeline)]},},- captured_user_api_key_dict=UserAPIKeyAuth(api_key="sk-1234"),+ captured_user_api_key_dict=UserAPIKeyAuth(api_key="sk-1234", request_route="/v1/chat/completions"),captured_logging_obj=_streaming_logging_obj(),assembled_response=ModelResponse(choices=[Choices(message=Message(role="assistant", content="hello"))]),cache_hit=False,