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
resolving build issues
yuneng-jiangb8190c6b6dff
diff --git a/ui/litellm-dashboard/src/app/(dashboard)/models-and-endpoints/ModelsAndEndpointsView.tsx b/ui/litellm-dashboard/src/app/(dashboard)/models-and-endpoints/ModelsAndEndpointsView.tsxindex 4cd1f549e69..8135580e29e 100644--- a/ui/litellm-dashboard/src/app/(dashboard)/models-and-endpoints/ModelsAndEndpointsView.tsx+++ b/ui/litellm-dashboard/src/app/(dashboard)/models-and-endpoints/ModelsAndEndpointsView.tsx@@ -1,48 +1,45 @@-import React, { useState, useEffect, useRef } from "react";-import { Text, Grid, Col } from "@tremor/react";import { useQueryClient } from "@tanstack/react-query";-import { CredentialItem } from "@/components/networking";+import { Col, Grid, Text } from "@tremor/react";+import React, { useEffect, useRef, useState } from "react";import { handleAddModelSubmit } from "@/components/add_model/handle_add_model_submit";+import { useCredentials } from "@/app/(dashboard)/hooks/credentials/useCredentials";+import { useModelsInfo } from "@/app/(dashboard)/hooks/models/useModels";+import { Team } from "@/components/key_team_helpers/key_list";import CredentialsPanel from "@/components/model_add/credentials";-import { getDisplayModelName } from "@/components/view_model/model_name_display";-import { TabPanel, TabPanels, TabGroup, TabList, Tab, Icon } from "@tremor/react";-import { DateRangePickerValue } from "@tremor/react";import {+ adminGlobalActivityExceptions,+ adminGlobalActivityExceptionsPerDeployment,+ allEndUsersCall,+ getCallbacksCall,modelCostMap,- modelMetricsCall,- streamingModelMetricsCall,modelExceptionsCall,+ modelMetricsCall,modelMetricsSlowResponsesCall,- getCallbacksCall,- setCallbacksCall,modelSettingsCall,- adminGlobalActivityExceptions,- adminGlobalActivityExceptionsPerDeployment,- allEndUsersCall,+ setCallbacksCall,+ streamingModelMetricsCall,} from "@/components/networking";-import { useModelsInfo } from "@/app/(dashboard)/hooks/models/useModels";-import { useCredentials } from "@/app/(dashboard)/hooks/credentials/useCredentials";-import { Form } from "antd";-import { Typography } from "antd";+import { Providers, getPlaceholder, getProviderModels } from "@/components/provider_info_helpers";+import { getDisplayModelName } from "@/components/view_model/model_name_display";import { RefreshIcon } from "@heroicons/react/outline";+import { DateRangePickerValue, Icon, Tab, TabGroup, TabList, TabPanel, TabPanels } from "@tremor/react";import type { UploadProps } from "antd";-import { Team } from "@/components/key_team_helpers/key_list";-import TeamInfoView from "../../../components/team/team_info";-import { Providers, getPlaceholder, getProviderModels } from "@/components/provider_info_helpers";-import ModelInfoView from "../../../components/model_info_view";+import { Form, Typography } from "antd";import AddModelTab from "../../../components/add_model/add_model_tab";+import ModelInfoView from "../../../components/model_info_view";+import TeamInfoView from "../../../components/team/team_info";+import AllModelsTab from "@/app/(dashboard)/models-and-endpoints/components/AllModelsTab";+import ModelAnalyticsTab from "@/app/(dashboard)/models-and-endpoints/components/ModelAnalyticsTab/ModelAnalyticsTab";+import ModelRetrySettingsTab from "@/app/(dashboard)/models-and-endpoints/components/ModelRetrySettingsTab";+import PriceDataManagementTab from "@/app/(dashboard)/models-and-endpoints/components/PriceDataManagementTab";+import { all_admin_roles } from "@/utils/roles";import HealthCheckComponent from "../../../components/model_dashboard/HealthCheckComponent";-import PassThroughSettings from "../../../components/pass_through_settings";import ModelGroupAliasSettings from "../../../components/model_group_alias_settings";-import { all_admin_roles } from "@/utils/roles";import NotificationsManager from "../../../components/molecules/notifications_manager";-import AllModelsTab from "@/app/(dashboard)/models-and-endpoints/components/AllModelsTab";-import PriceDataManagementTab from "@/app/(dashboard)/models-and-endpoints/components/PriceDataManagementTab";-import ModelRetrySettingsTab from "@/app/(dashboard)/models-and-endpoints/components/ModelRetrySettingsTab";-import ModelAnalyticsTab from "@/app/(dashboard)/models-and-endpoints/components/ModelAnalyticsTab/ModelAnalyticsTab";+import PassThroughSettings from "../../../components/pass_through_settings";interface ModelDashboardProps {accessToken: string | null;@@ -678,7 +675,7 @@ const ModelsAndEndpointsView: React.FC<ModelDashboardProps> = ({/></TabPanel><TabPanel>- <CredentialsPanel accessToken={accessToken} uploadProps={uploadProps} />+ <CredentialsPanel uploadProps={uploadProps} /></TabPanel><TabPanel><PassThroughSettingsdiff --git a/ui/litellm-dashboard/src/components/templates/model_dashboard.tsx b/ui/litellm-dashboard/src/components/templates/model_dashboard.tsxindex 13bd411cc0a..a120192fb59 100644--- a/ui/litellm-dashboard/src/components/templates/model_dashboard.tsx+++ b/ui/litellm-dashboard/src/components/templates/model_dashboard.tsx@@ -1351,12 +1351,7 @@ const OldModelDashboard: React.FC<ModelDashboardProps> = ({/></TabPanel><TabPanel>- <CredentialsPanel- accessToken={accessToken}- uploadProps={uploadProps}- credentialList={credentialsList}- fetchCredentials={fetchCredentials}- />+ <CredentialsPanel uploadProps={uploadProps} /></TabPanel><TabPanel><PassThroughSettings