(fix) SpendLogs Table

This commit is contained in:
ishaan-jaff 2024-01-26 13:23:51 -08:00
parent 12f569ad60
commit 55b95e87dd
5 changed files with 25 additions and 13 deletions

View file

@ -53,9 +53,9 @@ model LiteLLM_SpendLogs {
call_type String
api_key String @default ("")
spend Float @default(0.0)
total_tokens Float @default(0.0)
prompt_tokens Float @default(0.0)
completion_tokens Float @default(0.0)
total_tokens Int @default(0)
prompt_tokens Int @default(0)
completion_tokens Int @default(0)
startTime DateTime // Assuming start_time is a DateTime field
endTime DateTime // Assuming end_time is a DateTime field
model String @default("")