From acd8c12819c40b58faaf9788e747dd1f64aa929c Mon Sep 17 00:00:00 2001 From: James Date: Fri, 6 Dec 2024 16:24:21 +0700 Subject: [PATCH] fix: message created at wrong value --- engine/services/message_service.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/services/message_service.cc b/engine/services/message_service.cc index ddc9e096b..ac9a582df 100644 --- a/engine/services/message_service.cc +++ b/engine/services/message_service.cc @@ -33,7 +33,7 @@ cpp::result MessageService::CreateMessage( OpenAi::Message msg; msg.id = msg_id; msg.object = "thread.message"; - msg.created_at = 0; + msg.created_at = seconds_since_epoch; msg.thread_id = thread_id; msg.status = OpenAi::Status::COMPLETED; msg.completed_at = seconds_since_epoch;