log startTime and EndTime for exceptions

This commit is contained in:
Ishaan Jaff 2024-04-30 13:34:14 -07:00
parent 3aad034a8b
commit 4b8fda4ac4
3 changed files with 6 additions and 0 deletions

View file

@ -186,6 +186,8 @@ model LiteLLM_SpendLogs {
// View spend, model, api_key per request
model LiteLLM_ErrorLogs {
request_id String @id @default(uuid())
startTime DateTime // Assuming start_time is a DateTime field
endTime DateTime // Assuming end_time is a DateTime field
api_base String @default("")
model_group String @default("") // public model_name / model_group
model_id String @default("") // ID of model in ProxyModelTable