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

#31438 [Bug]: /v1/models does not include models from team-level access_group_ids when team models is "no-default-models"

  • State: open
  • Author: @bannert1337

### Check for existing issues

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

### What happened?

When an Access Group is assigned to a **Team** (via the UI, resulting in `access_group_ids` and `access_group_models` on the team object), the `/v1/models` endpoint does not include the access group's models in its response. It only returns whatever is in the team's `models` field.

When the team's `models` is set to `["no-default-models"]`, `/v1/models` returns only `["no-default-models"]` — despite the Access Group correctly granting access to 12 models. Direct API calls to those models succeed (200 OK), proving the authorization layer works.

This makes the feature unusable for client applications (Open WebUI, etc.) that rely on `/v1/models` to populate their model dropdowns — users never see the models they're allowed to use.

### Steps to reproduce

**Setup:** 1. Create an Access Group in the UI with several models (e.g. "my-group" containing `gpt-4o`, `claude-sonnet-4-6`) 2. Create a Team with `models: ["no-default-models"]` 3. Assign the Access Group to the Team via the UI (the team now has `access_group_ids` and `access_group_models` po…

GitHub resolver

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

Refresh page
vote history (1 events)
#0 of 0 · 31d18h17m30s ago — entered · #import:https:::github.com:berriai:litellm post #2888
The right issue is harder because it spans multiple request pipelines, persistence behavior, configuration propagation, and regression coverage, with added privacy and data-integrity risks. The left issue is more localized to model-list aggregation and access-control metadata handling.
discussed in #import:https:::github.com:berriai:litellm

ranked child groups

no voted pairs yet in this scope

cli
src
spread
search