feat - set budget duration

This commit is contained in:
Ishaan Jaff 2024-05-25 14:32:08 -07:00
parent 7ff8204573
commit bf0c0c08c8
2 changed files with 6 additions and 4 deletions

View file

@ -8033,12 +8033,9 @@ async def new_team(
_model_id = model_dict.id
## ADD TO TEAM TABLE
## ADD TO TEAM TABLE -> the user api key settings are overriding the data we passed i
complete_team_data = LiteLLM_TeamTable(
**data.json(),
max_parallel_requests=user_api_key_dict.max_parallel_requests,
budget_duration=user_api_key_dict.budget_duration,
budget_reset_at=user_api_key_dict.budget_reset_at,
model_id=_model_id,
)