[ Proxy - User Management]: If user assigned to a team don't show Default Team (#5791)

* rename endpoint to ui_settings

* ui allow DEFAULT_TEAM_DISABLED

* fix logic

* docs Set `default_team_disabled: true` on your litellm config.yaml
This commit is contained in:
Ishaan Jaff 2024-09-19 17:13:58 -07:00 committed by GitHub
parent 91e58d9049
commit e6018a464f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 56 additions and 12 deletions

View file

@ -2752,8 +2752,8 @@ export const getProxyBaseUrlAndLogoutUrl = async (
*/
try {
let url = proxyBaseUrl
? `${proxyBaseUrl}/sso/get/logout_url`
: `/sso/get/logout_url`;
? `${proxyBaseUrl}/sso/get/ui_settings`
: `sso/get/ui_settings`;
//message.info("Requesting model data");
const response = await fetch(url, {