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 remaining org_id fallbacks in filter_helpers and TeamVirtualKeysTable
yuneng-jiang7eafac8e7f50
diff --git a/ui/litellm-dashboard/src/components/key_team_helpers/filter_helpers.ts b/ui/litellm-dashboard/src/components/key_team_helpers/filter_helpers.tsindex b587e090d33..fb701b4656b 100644--- a/ui/litellm-dashboard/src/components/key_team_helpers/filter_helpers.ts+++ b/ui/litellm-dashboard/src/components/key_team_helpers/filter_helpers.ts@@ -22,7 +22,7 @@ const processKeysIntoOptions = (if (alias && typeof alias === "string") {keyAliases.add(alias.trim());}- const orgId = key?.organization_id;+ const orgId = key?.organization_id ?? key?.org_id;if (orgId && typeof orgId === "string") {organizationIds.add(orgId.trim());}diff --git a/ui/litellm-dashboard/src/components/team/TeamVirtualKeysTable.tsx b/ui/litellm-dashboard/src/components/team/TeamVirtualKeysTable.tsxindex 5d76b99ef91..c8a54145b51 100644--- a/ui/litellm-dashboard/src/components/team/TeamVirtualKeysTable.tsx+++ b/ui/litellm-dashboard/src/components/team/TeamVirtualKeysTable.tsx@@ -91,7 +91,7 @@ export function TeamVirtualKeysTable({ teamId, teamAlias, organization }: TeamViif (!orgId) return kList;return kList.map((k: KeyResponse) => ({...k,- organization_id: k.organization_id || orgId,+ organization_id: (k.organization_id ?? k.org_id) || orgId,}));}, [keys?.keys, organization?.organization_id]);