diff --git a/.gitignore b/.gitignore index be045dd2651..6f745a350e8 100644 --- a/.gitignore +++ b/.gitignore @@ -69,4 +69,5 @@ tests/llm_translation/log.txt venv/ tests/local_testing/log.txt -.codegpt \ No newline at end of file +.codegpt +litellm/proxy/_new_new_secret_config.yaml diff --git a/litellm/proxy/_new_secret_config.yaml b/litellm/proxy/_new_secret_config.yaml index 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:8090 timeout: 2 num_retries: 0 + litellm_settings: success_callback: ["langfuse"] \ No newline at end of file diff --git a/litellm/proxy/cached_logo.jpg b/litellm/proxy/cached_logo.jpg index ddf8b9e820e..da4faf5b5ca 100644 Binary files a/litellm/proxy/cached_logo.jpg and b/litellm/proxy/cached_logo.jpg differ diff --git a/ui/litellm-dashboard/src/components/dashboard_default_team.tsx b/ui/litellm-dashboard/src/components/dashboard_default_team.tsx index 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 = ({ 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.tsx index 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 = ({ {/* Left side - Just Logo */}
- 🚅 - LiteLLM +
diff --git a/ui/litellm-dashboard/src/components/user_dashboard.tsx b/ui/litellm-dashboard/src/components/user_dashboard.tsx index 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 = ({ setUserSpendData(response["user_info"]); console.log(`userSpendData: ${JSON.stringify(userSpendData)}`) + setKeys(response["keys"]); // Assuming this is the correct path to your data const 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.tsx index 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 = ({ }); // 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))