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
fixing build
yuneng-jiang1ac620475606
diff --git a/ui/litellm-dashboard/src/components/OldTeams.tsx b/ui/litellm-dashboard/src/components/OldTeams.tsxindex 77bbdb483da..10a38f0285c 100644--- a/ui/litellm-dashboard/src/components/OldTeams.tsx+++ b/ui/litellm-dashboard/src/components/OldTeams.tsx@@ -174,7 +174,7 @@ const Teams: React.FC<TeamProps> = ({premiumUser = false,}) => {console.log(`organizations: ${JSON.stringify(organizations)}`);- const { data: organizationsData } = useOrganizations(accessToken);+ const { data: organizationsData } = useOrganizations();const [lastRefreshed, setLastRefreshed] = useState("");const [currentOrg, setCurrentOrg] = useState<Organization | null>(null);const [currentOrgForCreateTeam, setCurrentOrgForCreateTeam] = useState<Organization | null>(null);diff --git a/ui/litellm-dashboard/src/components/mcp_server_management/MCPToolPermissions.tsx b/ui/litellm-dashboard/src/components/mcp_server_management/MCPToolPermissions.tsxindex ec7e2797814..4f884d3303b 100644--- a/ui/litellm-dashboard/src/components/mcp_server_management/MCPToolPermissions.tsx+++ b/ui/litellm-dashboard/src/components/mcp_server_management/MCPToolPermissions.tsx@@ -21,7 +21,7 @@ const MCPToolPermissions: React.FC<MCPToolPermissionsProps> = ({onChange,disabled = false,}) => {- const { data: allServers = [] } = useMCPServers(accessToken);+ const { data: allServers = [] } = useMCPServers();const [serverTools, setServerTools] = useState<Record<string, MCPTool[]>>({});const [loadingTools, setLoadingTools] = useState<Record<string, boolean>>({});const [toolErrors, setToolErrors] = useState<Record<string, string>>({});diff --git a/ui/litellm-dashboard/src/components/mcp_tools/mcp_servers.tsx b/ui/litellm-dashboard/src/components/mcp_tools/mcp_servers.tsxindex 83393c4a94b..d5b147f85c7 100644--- a/ui/litellm-dashboard/src/components/mcp_tools/mcp_servers.tsx+++ b/ui/litellm-dashboard/src/components/mcp_tools/mcp_servers.tsx@@ -19,7 +19,7 @@ const EDIT_OAUTH_UI_STATE_KEY = "litellm-mcp-oauth-edit-state";const { Option } = Select;const MCPServers: React.FC<MCPServerProps> = ({ accessToken, userRole, userID }) => {- const { data: mcpServers, isLoading: isLoadingServers, refetch, dataUpdatedAt } = useMCPServers(accessToken);+ const { data: mcpServers, isLoading: isLoadingServers, refetch, dataUpdatedAt } = useMCPServers();// Log allowed_tools from fetched serversReact.useEffect(() => {diff --git a/ui/litellm-dashboard/src/components/model_info_view.tsx b/ui/litellm-dashboard/src/components/model_info_view.tsxindex f66fd005ae1..01acc8d78ef 100644--- a/ui/litellm-dashboard/src/components/model_info_view.tsx+++ b/ui/litellm-dashboard/src/components/model_info_view.tsx@@ -86,7 +86,7 @@ export default function ModelInfoView({const isAdmin = userRole === "Admin";const isAutoRouter = modelData?.litellm_params?.auto_router_config != null;- const { data: modelsInfoData } = useModelsInfo(accessToken, userID, userRole);+ const { data: modelsInfoData } = useModelsInfo();console.log("modelsInfoData, ", modelsInfoData);const usingExistingCredential =modelData?.litellm_params?.litellm_credential_name != null &&