mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 03:04:13 +00:00
fix(proxy_server.py): don't silently fail load_team_config
This commit is contained in:
parent
d7d1aa1266
commit
688193bea3
1 changed files with 4 additions and 4 deletions
|
@ -1036,7 +1036,7 @@ class ProxyConfig:
|
||||||
if all_teams_config is None:
|
if all_teams_config is None:
|
||||||
return team_config
|
return team_config
|
||||||
for team in all_teams_config:
|
for team in all_teams_config:
|
||||||
if "team_id" in team:
|
assert "team_id" in team
|
||||||
if team_id == team["team_id"]:
|
if team_id == team["team_id"]:
|
||||||
team_config = team
|
team_config = team
|
||||||
break
|
break
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue