Merge pull request #4084 from BerriAI/litellm_batch_add_team_members

fix(proxy_server.py): allow passing in a list of team members
This commit is contained in:
Krish Dholakia 2024-06-10 20:26:35 -07:00 committed by GitHub
commit 55a20c7cce
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 144 additions and 79 deletions

View file

@ -91,7 +91,7 @@ model LiteLLM_TeamTable {
updated_at DateTime @default(now()) @updatedAt @map("updated_at")
model_spend Json @default("{}")
model_max_budget Json @default("{}")
model_id Int? @unique
model_id Int? @unique // id for LiteLLM_ModelTable -> stores team-level model aliases
litellm_organization_table LiteLLM_OrganizationTable? @relation(fields: [organization_id], references: [organization_id])
litellm_model_table LiteLLM_ModelTable? @relation(fields: [model_id], references: [id])
}