6 views
-/https://github.com/berriai/litellm/issues/30478
GitHub · issue

#30478 [Bug]: default_team_params.models is never applied when creating teams via API, SCIM, or UI

  • State: open
  • Author: @cmcfadden
  • Labels: bug, proxy

### Check for existing issues

- [x] I have searched the existing issues and checked that my issue is not a duplicate.

### What happened?

The models field in default_team_params (configurable via YAML or the UI's "Default Team Settings" panel) is never applied to newly created teams. This means administrators cannot use default_team_params to set a default model allowlist for auto-provisioned teams, despite the field being documented, stored, and exposed in the UI.

### Steps to Reproduce

1. Set default team models in config.yaml or via default team settings in the UI 2. Provision a team via SCIM, the UI or the `/team/new` endpoint, without specifying a model 3. Result is that the team is created with a blank models value, instead of copying in the default team models

The issue is that new_team() in `litellm/proxy/management_endpoints/team_endpoints.py` has a hardcoded set of values it looks for and that doesn't include `models`. Models are currently *only* applied via SSO team provisioning.

### Relevant log output

```shell

```

### What part of LiteLLM is this about?

Proxy

### What LiteLLM version are you on ?

v1.89.0

### Twitter / LinkedIn details

_No response_

GitHub resolver

Import GitHub neighbors on demand. Results are saved as system ingests.

Refresh page
vote history (1 events)
#0 of 0 · 31d18h24m22s ago — entered · #import:https:::github.com:berriai:litellm post #2539
The left task spans multiple team-creation pathways and shared default-application semantics, with broader regression-testing and compatibility risk. The right task is a localized billing-calculation correction with a comparatively narrow implementation and test surface.
discussed in #import:https:::github.com:berriai:litellm

ranked child groups

no voted pairs yet in this scope

cli
src
spread
search