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 pull request #41634 from BerriAI/litellm_agent_access_groups
Yassin Kortam9cc5b78c33ee
diff --cc litellm/proxy/_types.pyindex 03caca399c3,50ddf52fc3f..3f2d2f57fd4--- a/litellm/proxy/_types.py+++ b/litellm/proxy/_types.py@@@ -3304,8 -3287,8 +3314,9 @@@ class UserAPIKeyAuth(LiteLLM_Verificativalues.pop("mcp_admitted_user_subject", None)values.pop("mcp_source_team_rpm_limits", None)values.pop("mcp_session_resource_server_id", None)+ values.pop("mcp_toolset_id", None)values.pop("via_virtual_key", None)+ values.pop("agent_caller", None)if values.get("api_key") is not None:values.update({"token": cls._safe_hash_litellm_api_key(values.get("api_key"))})if isinstance(values.get("api_key"), str):