docs: add team_member_model_max_budget to new_team and update_team docstrings

This commit is contained in:
Ishaan Jaffer 2026-04-24 17:47:38 -07:00
parent 6725fb957e
commit 39207405d7
No known key found for this signature in database

View file

@ -840,6 +840,7 @@ async def new_team( # noqa: PLR0915
- object_permission: Optional[LiteLLM_ObjectPermissionBase] - team-specific object permission. Example - {"vector_stores": ["vector_store_1", "vector_store_2"], "agents": ["agent_1", "agent_2"], "agent_access_groups": ["dev_group"]}. IF null or {} then no object permission.
- team_member_budget: Optional[float] - The maximum budget allocated to an individual team member.
- team_member_budget_duration: Optional[str] - The duration of the budget for the team member. Doc [here](https://docs.litellm.ai/docs/proxy/team_budgets)
- team_member_model_max_budget: Optional[dict] - Per-model spend limits for each team member. Example: {"gpt-4o": {"max_budget": 10.0}, "gpt-3.5-turbo": {"max_budget": 1.0}}. Each member's spend is tracked independently.
- team_member_rpm_limit: Optional[int] - The RPM (Requests Per Minute) limit for individual team members.
- team_member_tpm_limit: Optional[int] - The TPM (Tokens Per Minute) limit for individual team members.
- team_member_key_duration: Optional[str] - The duration for a team member's key. e.g. "1d", "1w", "1mo"
@ -1509,6 +1510,7 @@ async def update_team( # noqa: PLR0915
- object_permission: Optional[LiteLLM_ObjectPermissionBase] - team-specific object permission. Example - {"vector_stores": ["vector_store_1", "vector_store_2"], "agents": ["agent_1", "agent_2"], "agent_access_groups": ["dev_group"]}. IF null or {} then no object permission.
- team_member_budget: Optional[float] - The maximum budget allocated to an individual team member.
- team_member_budget_duration: Optional[str] - The duration of the budget for the team member. Doc [here](https://docs.litellm.ai/docs/proxy/team_budgets)
- team_member_model_max_budget: Optional[dict] - Per-model spend limits for each team member. Example: {"gpt-4o": {"max_budget": 10.0}, "gpt-3.5-turbo": {"max_budget": 1.0}}. Each member's spend is tracked independently.
- team_member_rpm_limit: Optional[int] - The RPM (Requests Per Minute) limit for individual team members.
- team_member_tpm_limit: Optional[int] - The TPM (Tokens Per Minute) limit for individual team members.
- team_member_key_duration: Optional[str] - The duration for a team member's key. e.g. "1d", "1w", "1mo"