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
Merge remote-tracking branch 'origin/litellm_internal_staging' into litellm_fix_post_call_policy_pipeline
mateo-berrid4c3ee25e622
diff --cc litellm/proxy/utils.pyindex dbcea834d50,051d36c4d0f..3314ccefa65--- a/litellm/proxy/utils.py+++ b/litellm/proxy/utils.py@@@ -2008,10 -1786,8 +2008,10 @@@ class ProxyLogging)try:+ _raise_for_streaming_post_call_pipelines(data, user_api_key_dict)+# Execute guardrail pipelines before the normal callback loop- data, _ = await self._maybe_execute_pipelines(- data = await self._maybe_execute_pipelines(++ data, _ = await self._maybe_execute_pipelines( # rebind-ok: pipeline edits feed the callback loop belowdata=data,user_api_key_dict=user_api_key_dict,call_type=call_type,