mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-08 22:21:35 +00:00
refactor(lowest_latency.py): fix linting issue
This commit is contained in:
parent
a60e23d98a
commit
5b7c3c7187
1 changed files with 1 additions and 1 deletions
|
|
@ -142,7 +142,7 @@ class LowestLatencyLoggingHandler(CustomLogger):
|
|||
continue # skip to next one
|
||||
|
||||
# get average latency
|
||||
total = 0
|
||||
total = 0.0
|
||||
for _call_latency in item_latency:
|
||||
if isinstance(_call_latency, timedelta):
|
||||
total += float(_call_latency.total_seconds())
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue