forked from phoenix/litellm-mirror
build(schema.prisma): add proxy model table to prisma schema
This commit is contained in:
parent
d627c90bfd
commit
5fb46cf32e
2 changed files with 25 additions and 1 deletions
|
@ -27,6 +27,18 @@ model LiteLLM_BudgetTable {
|
||||||
end_users LiteLLM_EndUserTable[] // multiple end-users can have the same budget
|
end_users LiteLLM_EndUserTable[] // multiple end-users can have the same budget
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Models on proxy
|
||||||
|
model LiteLLM_ProxyModelTable {
|
||||||
|
model_id String @id @default(uuid())
|
||||||
|
model_name String
|
||||||
|
litellm_params Json
|
||||||
|
model_info Json?
|
||||||
|
created_at DateTime @default(now()) @map("created_at")
|
||||||
|
created_by String
|
||||||
|
updated_at DateTime @default(now()) @updatedAt @map("updated_at")
|
||||||
|
updated_by String
|
||||||
|
}
|
||||||
|
|
||||||
model LiteLLM_OrganizationTable {
|
model LiteLLM_OrganizationTable {
|
||||||
organization_id String @id @default(uuid())
|
organization_id String @id @default(uuid())
|
||||||
organization_alias String
|
organization_alias String
|
||||||
|
@ -174,4 +186,4 @@ model LiteLLM_UserNotifications {
|
||||||
models String[]
|
models String[]
|
||||||
justification String
|
justification String
|
||||||
status String // approved, disapproved, pending
|
status String // approved, disapproved, pending
|
||||||
}
|
}
|
|
@ -27,6 +27,18 @@ model LiteLLM_BudgetTable {
|
||||||
end_users LiteLLM_EndUserTable[] // multiple end-users can have the same budget
|
end_users LiteLLM_EndUserTable[] // multiple end-users can have the same budget
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Models on proxy
|
||||||
|
model LiteLLM_ProxyModelTable {
|
||||||
|
model_id String @id @default(uuid())
|
||||||
|
model_name String
|
||||||
|
litellm_params Json
|
||||||
|
model_info Json?
|
||||||
|
created_at DateTime @default(now()) @map("created_at")
|
||||||
|
created_by String
|
||||||
|
updated_at DateTime @default(now()) @updatedAt @map("updated_at")
|
||||||
|
updated_by String
|
||||||
|
}
|
||||||
|
|
||||||
model LiteLLM_OrganizationTable {
|
model LiteLLM_OrganizationTable {
|
||||||
organization_id String @id @default(uuid())
|
organization_id String @id @default(uuid())
|
||||||
organization_alias String
|
organization_alias String
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue