Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

Update get_team_member_default_budget docstring for NULL fallback

Michael Riad Zakyb5b07089dd02
diff --git a/litellm/proxy/auth/auth_checks.py b/litellm/proxy/auth/auth_checks.py
index 4d19fb2e352..3f9cd4cf867 100644
--- a/litellm/proxy/auth/auth_checks.py
+++ b/litellm/proxy/auth/auth_checks.py
@@ -915,7 +915,8 @@ async def get_team_member_default_budget(
Fetches the team-level default per-member budget referenced by team.metadata["team_member_budget_id"].
This budget is applied to team members whose TeamMembership row has no
- linked budget. Results are cached for performance.
+ linked budget, or whose linked budget has max_budget=NULL. Results are
+ cached for performance.
Args:
budget_id: The budget_id pulled from team.metadata["team_member_budget_id"]