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
Litellm dev 01 23 2025 p2 (#7962)
Krish Dholakia744b7709ca0b
diff --git a/.gitignore b/.gitignoreindex be045dd2651..6f745a350e8 100644--- a/.gitignore+++ b/.gitignore@@ -69,4 +69,5 @@ tests/llm_translation/log.txtvenv/tests/local_testing/log.txt-.codegpt\ No newline at end of file+.codegpt+litellm/proxy/_new_new_secret_config.yamldiff --git a/litellm/proxy/_new_secret_config.yaml b/litellm/proxy/_new_secret_config.yamlindex 15acf2a7782..71a3695c58f 100644--- a/litellm/proxy/_new_secret_config.yaml+++ b/litellm/proxy/_new_secret_config.yaml@@ -11,6 +11,7 @@ model_list:api_base: http://0.0.0.0:8090timeout: 2num_retries: 0+litellm_settings:success_callback: ["langfuse"]\ No newline at end of filediff --git a/litellm/proxy/cached_logo.jpg b/litellm/proxy/cached_logo.jpgindex ddf8b9e820e..da4faf5b5ca 100644Binary files a/litellm/proxy/cached_logo.jpg and b/litellm/proxy/cached_logo.jpg differdiff --git a/ui/litellm-dashboard/src/components/dashboard_default_team.tsx b/ui/litellm-dashboard/src/components/dashboard_default_team.tsxindex 4672e3eccdd..7de03474dc1 100644--- a/ui/litellm-dashboard/src/components/dashboard_default_team.tsx+++ b/ui/litellm-dashboard/src/components/dashboard_default_team.tsx@@ -84,7 +84,7 @@ const DashboardTeam: React.FC<DashboardTeamProps> = ({value={String(index)}onClick={() => {setSelectedTeam(team);- setKeys(team["keys"]);+ // setKeys(team["keys"]);}}>{team["team_alias"]}diff --git a/ui/litellm-dashboard/src/components/navbar.tsx b/ui/litellm-dashboard/src/components/navbar.tsxindex 97a5feb5d86..c4dd20fbd04 100644--- a/ui/litellm-dashboard/src/components/navbar.tsx+++ b/ui/litellm-dashboard/src/components/navbar.tsx@@ -90,8 +90,13 @@ const Navbar: React.FC<NavbarProps> = ({{/* Left side - Just Logo */}<div className="flex items-center"><Link href="/" className="flex items-center">- <span className="text-xl">🚅</span>- <span className="ml-2 text-base font-medium text-gray-700">LiteLLM</span>+ <button className="text-gray-800 rounded text-center">+ <img+ src={imageUrl}+ alt="LiteLLM Brand"+ className="h-10 w-40 object-contain"+ />+ </button></Link></div>diff --git a/ui/litellm-dashboard/src/components/user_dashboard.tsx b/ui/litellm-dashboard/src/components/user_dashboard.tsxindex e00f3602327..99c110e6c9d 100644--- a/ui/litellm-dashboard/src/components/user_dashboard.tsx+++ b/ui/litellm-dashboard/src/components/user_dashboard.tsx@@ -206,14 +206,14 @@ const UserDashboard: React.FC<UserDashboardProps> = ({setUserSpendData(response["user_info"]);console.log(`userSpendData: ${JSON.stringify(userSpendData)}`)+ setKeys(response["keys"]); // Assuming this is the correct path to your dataconst teamsArray = [...response["teams"]];if (teamsArray.length > 0) {console.log(`response['teams']: ${JSON.stringify(teamsArray)}`);setSelectedTeam(teamsArray[0]);- setKeys(teamsArray[0]["keys"]); // Assuming this is the correct path to your data} else {setSelectedTeam(defaultTeam);- setKeys(response["keys"]); // Assuming this is the correct path to your data+}sessionStorage.setItem("userData" + userID,diff --git a/ui/litellm-dashboard/src/components/view_key_table.tsx b/ui/litellm-dashboard/src/components/view_key_table.tsxindex ea339d5bd58..144e716d361 100644--- a/ui/litellm-dashboard/src/components/view_key_table.tsx+++ b/ui/litellm-dashboard/src/components/view_key_table.tsx@@ -166,7 +166,7 @@ const ViewKeyTable: React.FC<ViewKeyTableProps> = ({});// If no team is selected, show all accessible keys- if (!selectedTeam && data) {+ if ((!selectedTeam || selectedTeam.team_alias === "Default Team") && data) {const personalKeys = data.filter(key => !key.team_id || key.team_id === "default-team");const adminTeamKeys = teams.filter(team => isUserTeamAdmin(team))