Merge pull request #3789 from BerriAI/litellm_ttft_ui

feat(schema.prisma): store model id + model group as part of spend logs allows precise model metrics
This commit is contained in:
Krish Dholakia 2024-05-22 18:22:39 -07:00 committed by GitHub
commit 5a3aca10ce
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 1335 additions and 801 deletions

View file

@ -177,6 +177,8 @@ model LiteLLM_SpendLogs {
endTime DateTime // Assuming end_time is a DateTime field
completionStartTime DateTime? // Assuming completionStartTime is a DateTime field
model String @default("")
model_id String? @default("") // the model id stored in proxy model db
model_group String? @default("") // public model_name / model_group
api_base String @default("")
user String @default("")
metadata Json @default("{}")