Merge pull request #14040 from dmvieira/main

Fix error saving latency as timedelta on Redis
This commit is contained in:
Krish Dholakia 2025-08-29 06:25:43 -07:00 committed by GitHub
commit f73b9da2cd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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):