diff --git a/litellm/proxy/management_endpoints/team_endpoints.py b/litellm/proxy/management_endpoints/team_endpoints.py index 2cf2dc80723..88f9cdd961d 100644 --- a/litellm/proxy/management_endpoints/team_endpoints.py +++ b/litellm/proxy/management_endpoints/team_endpoints.py @@ -4353,7 +4353,9 @@ async def list_team( except Exception as e: team_exception = """Invalid team object for team_id: {}. team_object={}. Error: {} - """.format(team.team_id, team.model_dump(), str(e)) + """.format( + team.team_id, team.model_dump(), str(e) + ) verbose_proxy_logger.exception(team_exception) continue # Sort the responses by team_alias