Skip to content

Commit

Permalink
fix: message created at wrong value
Browse files Browse the repository at this point in the history
  • Loading branch information
namchuai committed Dec 6, 2024
1 parent 4700f8d commit acd8c12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engine/services/message_service.cc
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ cpp::result<OpenAi::Message, std::string> 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;
Expand Down

0 comments on commit acd8c12

Please sign in to comment.