Merge pull request #1500 from BerriAI/litellm_create_keys_with_team_id

[Feat] /key/generate - create keys with`team_id`
This commit is contained in:
Ishaan Jaff 2024-01-18 16:35:14 -08:00 committed by GitHub
commit a8ba5df90e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 138 additions and 8 deletions

View file

@ -9,6 +9,7 @@ generator client {
model LiteLLM_UserTable {
user_id String @unique
team_id String?
max_budget Float?
spend Float @default(0.0)
user_email String?
@ -24,6 +25,7 @@ model LiteLLM_VerificationToken {
aliases Json @default("{}")
config Json @default("{}")
user_id String?
team_id String?
max_parallel_requests Int?
metadata Json @default("{}")
}