mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 03:04:13 +00:00
(fix) s3 log cache hits
This commit is contained in:
parent
cf86af46a8
commit
ce426f8b07
1 changed files with 4 additions and 1 deletions
|
@ -118,7 +118,10 @@ class S3Logger:
|
|||
except:
|
||||
# non blocking if it can't cast to a str
|
||||
pass
|
||||
s3_object_key = payload["id"]
|
||||
|
||||
s3_object_key = (
|
||||
payload["id"] + "-time=" + str(start_time)
|
||||
) # we need the s3 key to include the time, so we log cache hits too
|
||||
|
||||
import json
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue