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
adding missing imports + removing unused imports (#13610)
tanjirob5d0a7eb9534
diff --git a/ui/litellm-dashboard/src/components/SSOModals.tsx b/ui/litellm-dashboard/src/components/SSOModals.tsxindex f650badf9fa..24984774d64 100644--- a/ui/litellm-dashboard/src/components/SSOModals.tsx+++ b/ui/litellm-dashboard/src/components/SSOModals.tsx@@ -2,6 +2,7 @@ import React, { useEffect, useState } from "react";import { Modal, Form, Input, Button as Button2, Select, message } from "antd";import { Text, TextInput } from "@tremor/react";import { getSSOSettings, updateSSOSettings } from "./networking";+import NotificationManager from "./molecules/notifications_manager";interface SSOModalsProps {isAddSSOModalVisible: boolean;diff --git a/ui/litellm-dashboard/src/components/SSOSettings.tsx b/ui/litellm-dashboard/src/components/SSOSettings.tsxindex 68085b046bc..0cb5a5fd576 100644--- a/ui/litellm-dashboard/src/components/SSOSettings.tsx+++ b/ui/litellm-dashboard/src/components/SSOSettings.tsx@@ -6,6 +6,7 @@ import { getInternalUserSettings, updateInternalUserSettings, modelAvailableCallimport BudgetDurationDropdown, { getBudgetDurationLabel } from "./common_components/budget_duration_dropdown";import { getModelDisplayName } from "./key_team_helpers/fetch_available_models_team_key";import { formatNumberWithCommas } from "@/utils/dataUtils";+import NotificationManager from "./molecules/notifications_manager";interface SSOSettingsProps {accessToken: string | null;diff --git a/ui/litellm-dashboard/src/components/mcp_tools/mcp_tools.tsx b/ui/litellm-dashboard/src/components/mcp_tools/mcp_tools.tsxindex a8682467a44..b2ba26875fb 100644--- a/ui/litellm-dashboard/src/components/mcp_tools/mcp_tools.tsx+++ b/ui/litellm-dashboard/src/components/mcp_tools/mcp_tools.tsx@@ -20,7 +20,6 @@ import { Button, Card, Title, Text } from "@tremor/react";import { RobotOutlined, ApiOutlined, KeyOutlined, SafetyOutlined, ToolOutlined } from "@ant-design/icons";import { AUTH_TYPE } from "./types";-import NotificationManager from "../molecules/notifications_manager";type AuthModalProps = {visible: boolean;diff --git a/ui/litellm-dashboard/src/components/teams.tsx b/ui/litellm-dashboard/src/components/teams.tsxindex cc763341933..a8523025543 100644--- a/ui/litellm-dashboard/src/components/teams.tsx+++ b/ui/litellm-dashboard/src/components/teams.tsx@@ -111,6 +111,7 @@ import {v2TeamListCall,} from "./networking";import { updateExistingKeys } from "@/utils/dataUtils";+import NotificationManager from "./molecules/notifications_manager";interface TeamInfo {members_with_roles: Member[];@@ -464,7 +465,7 @@ const Teams: React.FC<TeamProps> = ({}} catch (error) {console.error("Error creating the team:", error);- NotificationManager.fromBackend("Error creating the team: " + error, 20);+ NotificationManager.fromBackend("Error creating the team: " + error);}};