#26785 [Bug]: Models don't dissapear from teams after delete
### Check for existing issues
- [x] 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
```shell
```
### What part of LiteLLM is this about?
UI Dashboard
### What LiteLLM version are you on ?
v1.82.3
### Twitter / LinkedIn details
_No response_