forked from phoenix/litellm-mirror
fix: show all teams user is a part of in user_info
This commit is contained in:
parent
5a0f962beb
commit
846757e343
5 changed files with 85 additions and 8 deletions
|
@ -13,6 +13,7 @@ model LiteLLM_TeamTable {
|
|||
team_alias String?
|
||||
admins String[]
|
||||
members String[]
|
||||
members_with_roles Json @default("{}")
|
||||
metadata Json @default("{}")
|
||||
max_budget Float?
|
||||
spend Float @default(0.0)
|
||||
|
@ -32,6 +33,7 @@ model LiteLLM_TeamTable {
|
|||
model LiteLLM_UserTable {
|
||||
user_id String @unique
|
||||
team_id String?
|
||||
teams String[] @default([])
|
||||
user_role String?
|
||||
max_budget Float?
|
||||
spend Float @default(0.0)
|
||||
|
@ -104,4 +106,4 @@ model LiteLLM_UserNotifications {
|
|||
models String[]
|
||||
justification String
|
||||
status String // approved, disapproved, pending
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue