mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-05 08:07:05 +00:00
fix: timedelta as cache serializable error
This commit is contained in:
parent
e638c5490d
commit
d2ffca24bb
1 changed files with 1 additions and 1 deletions
|
|
@ -108,7 +108,7 @@ class LowestLatencyLoggingHandler(CustomLogger):
|
|||
if final_value is not None:
|
||||
final_value = float(final_value)
|
||||
else:
|
||||
final_value = response_ms
|
||||
final_value = response_seconds
|
||||
|
||||
if time_to_first_token_response_time is not None:
|
||||
if isinstance(time_to_first_token_response_time, timedelta):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue