From d6f7fa7f4e4789d524d700f24ceb6324e7febda7 Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Tue, 30 Apr 2024 11:42:17 -0700 Subject: [PATCH] v0 prisma schema --- schema.prisma | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/schema.prisma b/schema.prisma index 5ec73c9dc..cf979fe86 100644 --- a/schema.prisma +++ b/schema.prisma @@ -183,6 +183,16 @@ model LiteLLM_SpendLogs { end_user String? } +// View spend, model, api_key per request +model LiteLLM_ErrorLogs { + request_id String @id @default(uuid()) + model_name String @default("") // public model_name / model_group + model_id String @default("") // ID of model in ProxyModelTable + request_kwargs Json @default("{}") + exceptionType String @default("") + exceptionString String @default("") +} + // Beta - allow team members to request access to a model model LiteLLM_UserNotifications { request_id String @id