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
fix: normalize null to [] for all Optional[List[str]] fields in update_data
yuneng-jiangaaf0570f2252
diff --git a/litellm/proxy/management_endpoints/access_group_endpoints.py b/litellm/proxy/management_endpoints/access_group_endpoints.pyindex 53dfbcda836..d58dca5aec0 100644--- a/litellm/proxy/management_endpoints/access_group_endpoints.py+++ b/litellm/proxy/management_endpoints/access_group_endpoints.py@@ -392,7 +392,7 @@ async def update_access_group(update_fields = data.model_dump(exclude_unset=True)update_data: dict = {"updated_by": user_api_key_dict.user_id}for field, value in update_fields.items():- if field in ("assigned_team_ids", "assigned_key_ids") and value is None:+ if field in ("assigned_team_ids", "assigned_key_ids", "access_model_names", "access_mcp_server_ids", "access_agent_ids") and value is None:value = []update_data[field] = value