mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-24 18:24:20 +00:00
refactor(lowest_latency.py): fix linting error
This commit is contained in:
parent
22a900463e
commit
9dc2bc227b
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
Add a link
Reference in a new issue