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]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
docs: add default_team_params to config reference and update examples
Ryan Crabbe59b09102b930
diff --git a/docs/my-website/docs/proxy/config_settings.md b/docs/my-website/docs/proxy/config_settings.mdindex cc9090c2de6..5672e27fe51 100644--- a/docs/my-website/docs/proxy/config_settings.md+++ b/docs/my-website/docs/proxy/config_settings.md@@ -201,6 +201,7 @@ router_settings:| enable_json_schema_validation | boolean | If true, enables json schema validation for all requests. || enable_key_alias_format_validation | boolean | If true, validates `key_alias` format on `/key/generate` and `/key/update`. Must be 2-255 chars, start/end with alphanumeric, only allow `a-zA-Z0-9_-/.@`. Default `false`. || disable_copilot_system_to_assistant | boolean | **DEPRECATED** - GitHub Copilot API supports system prompts. |+| default_team_params | object | Default parameters applied to every new team created via `/team/new` (including SSO auto-created teams). Only fills in fields not explicitly set in the request. Sub-fields: `max_budget` (float), `budget_duration` (string, e.g. `"30d"`), `models` (array of strings), `tpm_limit` (integer), `rpm_limit` (integer), `team_member_permissions` (array of strings, e.g. `["/team/daily/activity", "/key/generate"]`). |### general_settings - Referencediff --git a/docs/my-website/docs/proxy/self_serve.md b/docs/my-website/docs/proxy/self_serve.mdindex b54344c1d05..7d88669bf1d 100644--- a/docs/my-website/docs/proxy/self_serve.md+++ b/docs/my-website/docs/proxy/self_serve.md@@ -358,10 +358,15 @@ When you connect litellm to your SSO provider, litellm can auto-create teams. Us```yaml showLineNumbers title="Default Params for new teams"litellm_settings:- default_team_params: # Default Params to apply when litellm auto creates a team from SSO IDP provider- max_budget: 100 # Optional[float], optional): $100 budget for the team- budget_duration: 30d # Optional[str], optional): 30 days budget_duration for the team- models: ["gpt-3.5-turbo"] # Optional[List[str]], optional): models to be used by the team+ default_team_params: # Applied to all /team/new calls (including SSO auto-created teams) when the field is not explicitly set+ max_budget: 100 # Optional[float]: $100 budget for the team+ budget_duration: 30d # Optional[str]: 30 days budget_duration for the team+ models: ["gpt-3.5-turbo"] # Optional[List[str]]: models to be used by the team+ tpm_limit: 100000 # Optional[int]: tokens per minute limit+ rpm_limit: 1000 # Optional[int]: requests per minute limit+ team_member_permissions: # Optional[List[str]]: permissions granted to non-admin team members+ - "/team/daily/activity" # Allow members to view team usage+ - "/key/generate" # Allow members to generate API keys```@@ -390,10 +395,14 @@ litellm_settings:max_budget_in_team: 100 # Optional[float], optional): $100 budget for the team. Defaults to None.user_role: "user" # Optional[str], optional): "user" or "admin". Defaults to "user"- default_team_params: # Default Params to apply when litellm auto creates a team from SSO IDP provider- max_budget: 100 # Optional[float], optional): $100 budget for the team- budget_duration: 30d # Optional[str], optional): 30 days budget_duration for the team- models: ["gpt-3.5-turbo"] # Optional[List[str]], optional): models to be used by the team+ default_team_params: # Applied to all /team/new calls (including SSO auto-created teams) when the field is not explicitly set+ max_budget: 100 # Optional[float]: $100 budget for the team+ budget_duration: 30d # Optional[str]: 30 days budget_duration for the team+ models: ["gpt-3.5-turbo"] # Optional[List[str]]: models to be used by the team+ tpm_limit: 100000 # Optional[int]: tokens per minute limit+ rpm_limit: 1000 # Optional[int]: requests per minute limit+ team_member_permissions: # Optional[List[str]]: permissions granted to non-admin team members+ - "/team/daily/activity"upperbound_key_generate_params: # Upperbound for /key/generate requests when self-serve flow is ondiff --git a/docs/my-website/docs/tutorials/msft_sso.md b/docs/my-website/docs/tutorials/msft_sso.mdindex 2936f27297f..d8b0b1b918f 100644--- a/docs/my-website/docs/tutorials/msft_sso.md+++ b/docs/my-website/docs/tutorials/msft_sso.md@@ -123,10 +123,12 @@ Navigate to your litellm config file and set the following params```yaml showLineNumbers title="litellm config with default_team_params"litellm_settings:- default_team_params: # Default Params to apply when litellm auto creates a team from SSO IDP provider- max_budget: 100 # Optional[float], optional): $100 budget for the team- budget_duration: 30d # Optional[str], optional): 30 days budget_duration for the team- models: ["gpt-3.5-turbo"] # Optional[List[str]], optional): models to be used by the team+ default_team_params: # Applied to all /team/new calls (including SSO auto-created teams) when the field is not explicitly set+ max_budget: 100 # Optional[float]: $100 budget for the team+ budget_duration: 30d # Optional[str]: 30 days budget_duration for the team+ models: ["gpt-3.5-turbo"] # Optional[List[str]]: models to be used by the team+ team_member_permissions: # Optional[List[str]]: permissions granted to non-admin team members+ - "/team/daily/activity" # Allow members to view team usage```### 3.2 Auto-create a new team on LiteLLM