litellm - 💡(How to fix) Fix [Bug]: Models don't dissapear from teams after delete [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
BerriAI/litellm#26785Fetched 2026-04-30 06:19:54
View on GitHub
Comments
0
Participants
1
Timeline
2
Reactions
0
Participants
Timeline (top)
labeled ×2
RAW_BUFFERClick to expand / collapse

Check for existing issues

  • I have searched the existing issues and checked that my issue is not a duplicate.

What happened?

If you delete a db model in UI dashboard, it will dissapear from team only after you will clear model list of that team.

Steps to Reproduce

  1. Open UI dashboard
  2. Create team
  3. Add model via UI dashboard
  4. Add that model to the team
  5. Delete the model
  6. Check the team's model list, deleted model still will be there.

Relevant log output

What part of LiteLLM is this about?

UI Dashboard

What LiteLLM version are you on ?

v1.82.3

Twitter / LinkedIn details

No response

extent analysis

TL;DR

The issue can likely be resolved by updating the team's model list after deleting a model from the UI dashboard.

Guidance

  • Verify that the model is properly deleted from the database before checking the team's model list.
  • Check the UI dashboard's code for any caching or lazy loading mechanisms that might be causing the deleted model to still appear in the team's model list.
  • Consider adding a refresh or update mechanism to the team's model list after a model is deleted.
  • Investigate if there are any database transactions or queries that need to be committed or updated after deleting a model.

Example

No code snippet can be provided without more context about the UI dashboard's codebase.

Notes

The issue might be related to the way the UI dashboard handles model deletion and team updates. Further investigation into the codebase and database interactions is needed to determine the root cause.

Recommendation

Apply workaround: Implement a refresh mechanism for the team's model list after a model is deleted, to ensure that the list is updated in real-time.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

litellm - 💡(How to fix) Fix [Bug]: Models don't dissapear from teams after delete [1 participants]