diff --git a/litellm/proxy/_experimental/out/404.html b/litellm/proxy/_experimental/out/404.html deleted file mode 100644 index 4e1a8fa4c..000000000 --- a/litellm/proxy/_experimental/out/404.html +++ /dev/null @@ -1 +0,0 @@ -404: This page could not be found.LiteLLM Dashboard

404

This page could not be found.

\ No newline at end of file diff --git a/litellm/proxy/_experimental/out/model_hub.html b/litellm/proxy/_experimental/out/model_hub.html deleted file mode 100644 index 4da591c1c..000000000 --- a/litellm/proxy/_experimental/out/model_hub.html +++ /dev/null @@ -1 +0,0 @@ -LiteLLM Dashboard \ No newline at end of file diff --git a/litellm/proxy/_experimental/out/onboarding.html b/litellm/proxy/_experimental/out/onboarding.html deleted file mode 100644 index 197ab5c31..000000000 --- a/litellm/proxy/_experimental/out/onboarding.html +++ /dev/null @@ -1 +0,0 @@ -LiteLLM Dashboard \ No newline at end of file diff --git a/litellm/proxy/_super_secret_config.yaml b/litellm/proxy/_super_secret_config.yaml index 7fa1bbc19..1cc8f4f37 100644 --- a/litellm/proxy/_super_secret_config.yaml +++ b/litellm/proxy/_super_secret_config.yaml @@ -57,9 +57,9 @@ router_settings: litellm_settings: success_callback: ["langfuse"] -general_settings: - alerting: ["email"] - key_management_system: "aws_kms" - key_management_settings: - hosted_keys: ["LITELLM_MASTER_KEY"] +# general_settings: +# alerting: ["email"] +# key_management_system: "aws_kms" +# key_management_settings: +# hosted_keys: ["LITELLM_MASTER_KEY"] diff --git a/litellm/proxy/proxy_server.py b/litellm/proxy/proxy_server.py index 8866781d6..133124db8 100644 --- a/litellm/proxy/proxy_server.py +++ b/litellm/proxy/proxy_server.py @@ -10295,7 +10295,7 @@ async def team_member_delete( existing_team_row = LiteLLM_TeamTable(**_existing_team_row.model_dump()) ## DELETE MEMBER FROM TEAM - new_team_members: List[dict] = [] + new_team_members: List[Member] = [] for m in existing_team_row.members_with_roles: if ( data.user_id is not None @@ -10309,13 +10309,16 @@ async def team_member_delete( and data.user_email == m.user_email ): continue - new_team_members.append(m.model_dump()) + new_team_members.append(m) + existing_team_row.members_with_roles = new_team_members + + _db_new_team_members: List[dict] = [m.model_dump() for m in new_team_members] _ = await prisma_client.db.litellm_teamtable.update( where={ "team_id": data.team_id, }, - data={"members_with_roles": json.dumps(new_team_members)}, # type: ignore + data={"members_with_roles": json.dumps(_db_new_team_members)}, # type: ignore ) ## DELETE TEAM ID from USER ROW, IF EXISTS ##