feat - return team_metadata in user_api_key_auth

This commit is contained in:
Ishaan Jaff 2024-07-22 18:21:50 -07:00
parent c34c123fe3
commit c9e2f977dd
2 changed files with 2 additions and 0 deletions

View file

@ -1256,6 +1256,7 @@ class LiteLLM_VerificationTokenView(LiteLLM_VerificationToken):
soft_budget: Optional[float] = None soft_budget: Optional[float] = None
team_model_aliases: Optional[Dict] = None team_model_aliases: Optional[Dict] = None
team_member_spend: Optional[float] = None team_member_spend: Optional[float] = None
team_metadata: Optional[Dict] = None
# End User Params # End User Params
end_user_id: Optional[str] = None end_user_id: Optional[str] = None

View file

@ -1313,6 +1313,7 @@ class PrismaClient:
t.tpm_limit AS team_tpm_limit, t.tpm_limit AS team_tpm_limit,
t.rpm_limit AS team_rpm_limit, t.rpm_limit AS team_rpm_limit,
t.models AS team_models, t.models AS team_models,
t.metadata AS team_metadata,
t.blocked AS team_blocked, t.blocked AS team_blocked,
t.team_alias AS team_alias, t.team_alias AS team_alias,
tm.spend AS team_member_spend, tm.spend AS team_member_spend,