diff --git a/litellm/proxy/common_request_processing.py b/litellm/proxy/common_request_processing.py index 80262a146c5..f08962000c5 100644 --- a/litellm/proxy/common_request_processing.py +++ b/litellm/proxy/common_request_processing.py @@ -1437,12 +1437,13 @@ class ProxyBaseLLMRequestProcessing: update_response_metadata, ) + start_time = logging_obj.start_time or end_time update_response_metadata( result=response, logging_obj=logging_obj, model=self.data.get("model"), kwargs=self.data, - start_time=end_time, + start_time=start_time, end_time=end_time, )