mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-05 02:41:56 +00:00
Update a comment about ignoring 0 values in addition to None
This commit is contained in:
parent
1dcf7eb06d
commit
9016e29d20
1 changed files with 1 additions and 1 deletions
|
|
@ -382,7 +382,7 @@ class SlackAlerting(CustomLogger):
|
|||
for value in latency_values
|
||||
]
|
||||
|
||||
# Get the indices of top 5 values with the highest numerical values (ignoring None values)
|
||||
# Get the indices of top 5 values with the highest numerical values (ignoring None and 0 values)
|
||||
top_5_slowest = sorted(
|
||||
range(len(replaced_slowest_values)),
|
||||
key=lambda i: replaced_slowest_values[i],
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue